Re: [PATCH] x86: Use __builtin_memset and __builtin_memcpy for memset/memcpy

From: H. Peter Anvin
Date: Fri Oct 02 2009 - 16:08:40 EST


On 10/02/2009 12:19 PM, Andi Kleen wrote:
>
> I tried this some time ago, but it it generates bad code on some
> gcc 3 versions.
>
> You really need to test such kind of changes on a wide variety
> of compilers, not assuming everyone uses the same version as you.
>

The version that went in is for gcc 4 only.

-hpa

--
H. Peter Anvin, Intel Open Source Technology Center
I work for Intel. I don't speak on their behalf.

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