SuperH: -m4-nofpu flag
Alexandre Oliva
aoliva@redhat.com
Wed Feb 14 22:23:00 GMT 2001
On Feb 15, 2001, NIIBE Yutaka <gniibe@m17n.org> wrote:
> In sh-elf, when -m4-nofpu is specified, __sh3__ (and __SH4_NOFPU__)
> are defined. It looks weird for me to define __sh3__ for SH-4.
> Is there any reason why __sh3__ is defined with -m4-nofpu in sh-elf?
Well, the ISA of a FPU-less SH4 is pretty much the same as that of
SH3. I believe that's the reason to define __sh3__. When you need to
tell whether it's an FPU-less SH4 or an SH3, there's __SH4_NOFPU__.
--
Alexandre Oliva Enjoy Guarana', see http://www.ic.unicamp.br/~oliva/
Red Hat GCC Developer aoliva@{cygnus.com, redhat.com}
CS PhD student at IC-Unicamp oliva@{lsd.ic.unicamp.br, gnu.org}
Free Software Evangelist *Please* write to mailing lists, not to me
More information about the Gcc
mailing list