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
At Tue, 14 May 2002 09:02:41 +0200, Thiemo Seufer wrote:
> > oh, that one's easy:
> >
> > lw $2, addr
> > ror $3, $2, 1
> >
> > what is bit 31 of $3?
>
> Hm, rotating an address to a misaligned value? Not the most convincing
> exmaple, I assume. :-)
uh, address, like, any of the types of addresses you'd otherwise give
to 'lw'. like, offset from GP of a 32-bit small data value. 8-)
> It would be as useful as "rotate half" or "rotate byte".
> Ok, dro[lr] helps for compatibility, so I'll change my patch.
And as 'rotate word'!
chris