Re: [BK+PATCH] remove __constant_memcpy

From: Linus Torvalds (
Date: Thu Apr 17 2003 - 11:07:45 EST

On 17 Apr 2003, Arjan van de Ven wrote:
> it can do that ANYWAY for all kinds of things.
> We really should ask the gcc folks to add a
> -fdontyoudareusefloatingpoint flag (well different name probably)

Well, _most_ architectures actually have that flag already. It's not
called -fdontyoudareusefloatingpoint on any of them, though ;)

It's most commonly called "-mno-fpu", but sh calls it "-mno-implicit-fp",
and alpha calls it "-mno-fp-regs".

On x86, gcc doesn't have such an option, although "-mno-sse" and
"-mno-sse2" probably come closest (and we should probably use them, but
since older gcc's don't know about it and it hasn't been an issue yet we

HOWEVER, that doesn't fix the memcpy() issue. The fact is, the kernel
_can_ and does use SSE instructions - it's just that it has to do magic
crap before it does so.


To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to
More majordomo info at
Please read the FAQ at

This archive was generated by hypermail 2b29 : Wed Apr 23 2003 - 22:00:21 EST