[Libre-soc-bugs] [Bug 995] align SVP64 instructions

bugzilla-daemon at libre-soc.org bugzilla-daemon at libre-soc.org
Tue Aug 15 20:29:20 BST 2023


https://bugs.libre-soc.org/show_bug.cgi?id=995

--- Comment #8 from Dmitry Selyutin <ghostmansd at gmail.com> ---
(In reply to Luke Kenneth Casson Leighton from comment #7)
> Yes just copy exactly what PO1 does. but at the moment i think they
> make of 64 *bit* alignment? i may have misread.

https://git.libre-soc.org/?p=binutils-gdb.git;a=commitdiff;h=41d40baf9d27d79d334e56a68c6819e0b71ef985

That's indeed 64-byte boundary, not 64-bit (as I stated at comment #0). The
magic happens here:

      frag_align_code (6, 4);
      record_alignment (now_seg, 6);

Now this magic applies to SVP64 mode as well (anything which enables
PPC_OPCODE_SVP64 and uses sv-prefixed insntructions; these together toggle
global svp64 boolean flag).
Actually we even had this code before, but now I made an explicit commit. I
hope you guys don't object if this is a separate commit.

I think this simple code concludes the task. It'd be great if we could have a
milestone and a budget assigned.

-- 
You are receiving this mail because:
You are on the CC list for the bug.


More information about the libre-soc-bugs mailing list