This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [PATCH, v8] Vectorized _cpp_clean_line


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.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]