[PATCH][RFH] (3/3) Vectorize some builtins on x86_64 by using libgcc-math

Paolo Bonzini paolo.bonzini@lu.unisi.ch
Fri Nov 17 16:14:00 GMT 2006

> If this is a shared library, then the link command line (generated by gcc 
> when linking with -ftree-vectorize) should at least use --as-needed 
> -lgcc-math --no-as-needed (if USE_LD_AS_NEEDED) to avoid dependencies on 
> libgcc-math for programs that don't in fact need it.

This would still require libgcc-math.a to be present in order to do the 
linking, right?

OTOH, it would not need to be connected to -ftree-vectorize, but it 
could be in the default target specs for targets that have --as-needed.


More information about the Gcc-patches mailing list