[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
Tue Jul 12 12:22:19 BST 2022


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

--- Comment #22 from Dmitry Selyutin <ghostmansd at gmail.com> ---
(In reply to Luke Kenneth Casson Leighton from comment #21)
> (In reply to Dmitry Selyutin from comment #20)
> bleuch, far too many random characters.

These characters are _not_ random. These characters come from the way this
assembly work in PPC. My point is, if 1<<r3 is the most obvious and evident
choice, the way it's described in GNU assembly is 1<<%r3, or via -mregnames
flag. I suggest at least keeping this as an alias for u3 (which, in my opinion,
is not obvious at all).

> * sm=r3   (no change)
> * sm=u3   (old 1<<r3)
> * !sm=r31  (old sm=~r31)

I think we will be able to handle ~r31 (well, again, in GNU assembly parlour
it's ~%r31, unless -mregnames is present). Actually once the registers are
supported it boils down to handling a little expression tree. I'm working on
it.

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


More information about the libre-soc-bugs mailing list