Re: [patch] string.h speedup, cld-2.3.30-A1

Pavel Machek (pavel@suse.cz)
Sun, 28 Nov 1999 18:00:54 +0100


Hi!

> > third, gcc unconditionally generating clds everywhere is a compiler
> > issue, which should be fixed in compiler land. something like
> > -mno-implicit-clds. (working around the problem by disabling gcc
> > optimizations isn't an optimal solution)
>
> i believe the 'ideal' solution would be to let users override GCC's
> internal memcpy/etc. functions. Right now it's about cld's. But maybe in
> the (not so far) future we want to use SIMD instructions to do memory
> copies, etc.

Why? If you have better implementation of memcpy than gcc's, right way
is to modify gcc to use your version.

Pavel

-- 
I'm really pavel@ucw.cz. Look at http://195.113.31.123/~pavel.  Pavel
Hi! I'm a .signature virus! Copy me into your ~/.signature, please!

- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.rutgers.edu Please read the FAQ at http://www.tux.org/lkml/