Messages in this thread | ![/](/images/icornerl.gif) | | Subject | Re: [BK+PATCH] remove __constant_memcpy | From | Arjan van de Ven <> | Date | 17 Apr 2003 10:46:47 +0200 |
| |
On Thu, 2003-04-17 at 04:06, Linus Torvalds wrote: > On Wed, 16 Apr 2003, Jeff Garzik wrote: > > > > gcc's __builtin_memcpy performs the same function (and more) as the > > kernel's __constant_memcpy. So, let's remove __constant_memcpy, and let > > the compiler do it. > > Please don't. > > There's no way gcc will EVER get the SSE2 cases right. It just cannot do > it. In fact, I live in fear that we will have to turn off the compiler > intrisics entirely some day just because there is always the worry that > gcc will start using FP.
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) to make sure it never ever will generate FP code. (would also help catch abusers of FP code in the kernel as a bonus ;) [unhandled content-type:application/pgp-signature] | ![\](/images/icornerr.gif) |