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] Vectorize loops containing function calls



The vectorizer part of the patch is straightforward (basically mirrors
the way ordinary arithmetics operators are handled, since there is not
that much difference).  To find the appropriate library function,
a new target hook (builtin_vectorized_function) is used; I am not
really sure whether this is the right way.

Sorry if this is a dumb question: why not use the sin_optab and friends?


Paolo


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