[Libre-soc-bugs] [Bug 849] binutils: parse macros in SVP64 and refactor code

bugzilla-daemon at libre-soc.org bugzilla-daemon at libre-soc.org
Mon Jul 11 15:32:48 BST 2022


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

--- Comment #20 from Dmitry Selyutin <ghostmansd at gmail.com> ---
This proves to be more difficult than I initially thought, since PPC doesn't
allow any registers. This code fails:

.set REG, %r0
extsw REG, 2

...and so does this code:

.set REG, r0
extsw REG, 2

I've raised the discussion on this as part of the original thread:
https://sourceware.org/pipermail/binutils/2022-July/121731.html.

Luke, a side note, unless -mregnames is given, this means that we should use
1<<%r3 (1<<r3 also works once -mregnames is active).

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


More information about the libre-soc-bugs mailing list