-mips16e and -mips32r2 usage
Ian Lance Taylor
iant@google.com
Fri May 21 01:17:00 GMT 2010
"Johan Schuld" <Johan.Schuld@fusiontransactive.com> writes:
> One is that even though -mips16e works, I can only find -mips16
> (note the missing e) documented in the GCC manuals?
As far as I know -mips16e does not work. When I try it I get an error
about an unrecognized option. I'm surprised that it works for you.
> The other one is when does one want to use the -mips16e option? For
> assembly code it's obvious, but for C code? When you think the
> compiled code might be more efficient using the compact instruction
> set? The MIPS16e specs clearly mention it's designed to switch
> between mips32?
Usually when space is a real issue, such as when doing development for
an embedded platform with limited ROM.
Ian
More information about the Gcc-help
mailing list