This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [PATCH, v8] Vectorized _cpp_clean_line
- From: "H.J. Lu" <hjl dot tools at gmail dot com>
- To: Richard Henderson <rth at redhat dot com>
- Cc: GCC Patches <gcc-patches at gcc dot gnu dot org>, Andi Kleen <ak at linux dot intel dot com>, "David S. Miller" <davem at davemloft dot net>
- Date: Sat, 21 Aug 2010 13:48:57 -0700
- Subject: Re: [PATCH, v8] Vectorized _cpp_clean_line
- References: <4C702671.2090204@redhat.com>
On Sat, Aug 21, 2010 at 12:18 PM, Richard Henderson <rth@redhat.com> wrote:
> Changes since last:
>
> Added Altivec and MMX2 alternatives.
>
> Use a constructor instead of an explicit call during
> libcpp initialization.
>
> Andi, I switched back to an indirect function call.
> With 4 alternatives the code generation inside of
> _cpp_clean_line looked pretty awful.
>
> Tested on {i686,x86_64,ppc64,ia64}-linux. ?On the
> ppc64 box, I used BOOT_CFLAGS with -mcpu=G5 in order
> to enable the Altivec path.
>
I didn't notice any speedup in gcc bootstrap on Intel Core i7 with make -j8:
Before:
10839.76user 442.30system 33:31.27elapsed 560%CPU (0avgtext+0avgdata
2748416maxresident)k
After:
10845.66user 445.10system 33:39.43elapsed 559%CPU (0avgtext+0avgdata
2748304maxresident)k
--
H.J.