[Libre-soc-bugs] [Bug 238] POWER Compressed Formal Standard writeup

bugzilla-daemon at libre-soc.org bugzilla-daemon at libre-soc.org
Mon Nov 16 01:25:58 GMT 2020


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

--- Comment #17 from Jacob Lifshay <programmerjake at gmail.com> ---
(In reply to Luke Kenneth Casson Leighton from comment #15)
> this is really handy.

thx

> ld immediate clearly at the top.  li is a compound pseudo op, also at the
> top.  mv, addi/s, make sense.  extsw not so much.

extsw is required for passing a signed 32-bit int according to the Power ABI,
most instructions don't sign-extend their result (they often leave the upper
32-bits undefined) so extsw is required.

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


More information about the libre-soc-bugs mailing list