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

Thiemo Seufer ica2_ts@csv.ica.uni-stuttgart.de
Mon May 13 23:30:00 GMT 2002


Eric Christopher wrote:
> 
> > 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?
> 
> Most ISAs have a dror32 insn, but fwiw, I agree with you.

None of the MIPS I, MIPS II, MIPS III, MIPS IV, MIPS32, MIPS64
ISAs has a rotate insn.


Thiemo



More information about the Binutils mailing list