This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: sh-unknown-linux-gnu (Support of no fdiv for integer division)


Stephen Clarke wrote:
 > Just curious, why was -m4-nofpu not adequate for this?

I've thought (misunderstood) and have been using -m4-nofpu with
modification of specs (replace __SH3__ to __sh4__).  However, the flag
-m4-nofpu is *not* for SH4.  It defines __SH3__ which is *not* a
mistake.

It seems that it's for dual issue SH3.  I don't know where such chip
exists.  I've asked Hitachi what the purpose of -m4-nofpu, but the
official answer seemed to be "it's not for you (sh-linux)."
-- 


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]