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

NIIBE Yutaka gniibe@m17n.org
Tue Oct 2 20:35:00 GMT 2001


Alexandre Oliva wrote:
 > It is my understanding that this is exactly what -m4-nofpu means.

Weird.  IIRC, you said that it is for SH3 last year.

Anyway, I don't mind.  Let's look current implementation.

Current implementation defines __sh3__ for -m4-nofpu, and the binary
generated with -m4-nofpu is *not* compatible to the one of -m4,
because the arguments are placed differently (when structure is
passed).

The binary generated by -m4-nofpu is compatible with the one with -m3.

So, for me, -m4-nofpu is _not_:
	Generate code for SH4 without touching FPU,
	if we only do interger arithmetic.

This is the reason why we went to -mno-fdiv-divsi.
-- 



More information about the Gcc-patches mailing list