[PATCH v2] MIPS: Use `.set mips2' to emulate LL/SC for the R5900 too

Joseph Myers joseph@codesourcery.com
Wed Oct 31 00:51:00 GMT 2018


On Tue, 30 Oct 2018, Maciej W. Rozycki wrote:

> Hi Fredrik,
> 
> > It turns out that `.set arch=mips' isn't needed, so the patch can be
> > simplified.  Please find the updated v2 patch here.
> 
>  FAOD, it was me who suggested that `.set arch=mips2' was required, while 
> indeed existing `.set mips2' is just as good and does not have to be 
> changed.
> 
>  For some reason I misremembered that with GAS `.set mipsX' only overrides 
> the ISA level used for assembly and leaves the original CPU architecture 
> intact, while indeed both `.set mipsX' and `.set arch=mipsX' override both 
> settings and are equivalent to each other.  Sorry to cause this confusion.
> 
>  This version is:
> 
> Reviewed-by: Maciej W. Rozycki <macro@linux-mips.org>

You should commit this, unless Fredrik has write access to commit it 
himself.

-- 
Joseph S. Myers
joseph@codesourcery.com



More information about the Libc-alpha mailing list