[PATCH v2] MIPS: Use `.set mips2' to emulate LL/SC for the R5900 too
Maciej W. Rozycki
macro@linux-mips.org
Tue Oct 30 21:58:00 GMT 2018
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>
Maciej
More information about the Libc-alpha
mailing list