This is the mail archive of the
binutils@sources.redhat.com
mailing list for the binutils project.
Re: [PATCH] MIPS gas: 64 bit aware rol/ror macros
- From: cgd at broadcom dot com
- To: echristo at redhat dot com
- Cc: binutils at sources dot redhat dot com,ica2_ts at csv dot ica dot uni-stuttgart dot de
- Date: 13 May 2002 23:17:13 -0700
- Subject: Re: [PATCH] MIPS gas: 64 bit aware rol/ror macros
- References: <200205132355.QAA07074@mail-sj1-2.sj.broadcom.com>
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