bug-binutils
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Bug binutils/22699] sh*: Immediate signedness is incorrect in and/or/ts


From: fenugrec at users dot sourceforge.net
Subject: [Bug binutils/22699] sh*: Immediate signedness is incorrect in and/or/tst/xor #imm
Date: Wed, 29 Apr 2020 13:56:18 +0000

https://sourceware.org/bugzilla/show_bug.cgi?id=22699

--- Comment #5 from fenugrec at users dot sourceforge.net ---
Thanks for looking into this, Nick.

I finally read up on the setrc/ldrc instructions and found a nice table
summarizing immediate value formats, in
https://www.renesas.com/en-us/doc/products/tool/doc/001/r20ut0704ej0101_shc_optimz.pdf
"SuperH C/C++ Compiler Package V.9.04 User's Manual" . Table 11.10, page 850 .
setrc and ldrc work with the "repeat count" register and take an unsigned 8-bit
immediate, allowed range from 0x01-0xFF.

Other than that, the patch looks good !

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


reply via email to

[Prev in Thread] Current Thread [Next in Thread]