[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <20091002201208.GO1656@one.firstfloor.org>
Date: Fri, 2 Oct 2009 22:12:08 +0200
From: Andi Kleen <andi@...stfloor.org>
To: "H. Peter Anvin" <hpa@...or.com>
Cc: Andi Kleen <andi@...stfloor.org>,
Arjan van de Ven <arjan@...radead.org>,
linux-kernel@...r.kernel.org, mingo@...e.hu, tglx@...x.de,
torvalds@...ux-foundation.org
Subject: Re: [PATCH] x86: Use __builtin_memset and __builtin_memcpy for memset/memcpy
On Fri, Oct 02, 2009 at 01:04:25PM -0700, H. Peter Anvin wrote:
> 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.
Thanks.
My memory might be faulty, but iirc 4.0/4.1 was also slightly
problematic. So better take a look at code for that too
if you haven't yet (just code size numbers are not enough)
-Andi
--
ak@...ux.intel.com -- Speaking for myself only.
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists