This is the mail archive of the 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: [LNO, mainline] Remember rs6000 builtins decls

On Jun 5, 2004, at 10:37 AM, Andrew Pinski wrote:

On Jun 5, 2004, at 13:03, Devang Patel wrote:

On Jun 5, 2004, at 8:38 AM, Andrew Pinski wrote:

On Jun 4, 2004, at 21:47, Devang Patel wrote:

This patch updates def_builtin macro to remember vector builtins in
vector_builtin_fns[]. This allows auto-vectorizer to use these
builtins directly.

Why would the auto-vectorizer use the builtins directly? I and many others think that the auto-vectorizer should be more target generic than that.

auto-vectorizer is target generic and it asks rs6000 target to generate
particular operations.

But why use the builtins, can you just define some generic trees which does
the same thing as the target builtins does today and have expand expand them
to RTL which the back-end understands? This is how the generic vector stuff
works and how the auto-vectorizing should work also os it is more generic and
easier to add/maintain the back-ends.

That's final goal, but at the moment we have two patch from two different
person using this approach.


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