[PATCH] MIPS gas: 64 bit aware rol/ror macros

cgd@broadcom.com cgd@broadcom.com
Mon May 13 11:50:00 GMT 2002


At Sat, 11 May 2002 09:26:22 +0000 (UTC), "Thiemo Seufer" wrote:
> this extends the rotate macros of MIPS gas to do the right
> thing for 64 bit registers.

Personally, I disagree with this.

Manuals such as See Mips Run document rol/ror to be 32-bit, and add
drol/dror macros to do 64-bit rotates.  (SMR pages 188-189, 196.)

Further, if you redefine rol/ror to be 64-bit on machines with 64-bit
GPRs... well, how do you do 32-bit rotates on those machines?



chris



More information about the Binutils mailing list