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

cgd@broadcom.com cgd@broadcom.com
Mon May 13 23:17:00 GMT 2002


At Mon, 13 May 2002 16:55:24 -0700 (PDT), Chris Demetriou wrote:
> > Most ISAs have a dror32 insn, but fwiw, I agree with you.
> 
> hmm.  public examples?
> 
> (always looking to expand my docs collection.  8-)
> 
> (sure that's not like dsll32, etc.?  I.e., immediate constant + 32?)

A quick google for MIPS and dror32 seems to point to NEC and
SandCraft.

e.g. see the very brief descriptions of dror, dror32, and drorv on

http://www.sandcraft.com/products/gnu/17_assembler.html

which seems to indicate that they're the direct analogues of dsll et
al.


So, if there's going to be a 64-bit ror/rol, i really do think they
should be dro[rl] (and it might be good to have assembler macros that
DTRT w/ the rest of the variants of the dro? and ro? insns 8-).


chris



More information about the Binutils mailing list