>>I think this patch by Zdenek - vectorizing function calls - is related:
>> http://gcc.gnu.org/ml/gcc-patches/2006-03/msg01655.html
>> (would need to be extended to cover this case).

Yes, extending Zdenek's patch to recognize built-in is a good idea.
However, in case of compiler inserted built-in (e.g. this case) it is
a good idea to delay inserting built-in function calls after vectorizer
has a chance to optimize loop, specially when vectorized version
of built-in function is not available.

-
Devang

Reply via email to