[PATCH, v8] Vectorized _cpp_clean_line

H.J. Lu hjl.tools@gmail.com
Sat Aug 21 22:38:00 GMT 2010


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.



More information about the Gcc-patches mailing list