This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: sh-unknown-linux-gnu (Support of no fdiv for integer division)
- To: Stephen Clarke <Stephen dot Clarke at st dot com>
- Subject: Re: sh-unknown-linux-gnu (Support of no fdiv for integer division)
- From: NIIBE Yutaka <gniibe at m17n dot org>
- Date: Tue, 2 Oct 2001 09:27:31 +0900 (JST)
- Cc: gcc-patches at gcc dot gnu dot org, kkojima at rr dot iij4u dot or dot jp
- References: <200110011000.f91A0GR22892@mule.m17n.org><3BB8E477.C4CF1E5E@st.com>
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)."
--