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: [lno] fix division by zero





> Well, I tried, and I tried, but I can't get no ... vectorization:

That's because the vectorizer currently doesn't support unary operations.
It's very trivial to add this support, and I will, shortly. A lot of the
restrictions that are imposed right now are entirely arbitrary - I posted
the vectorizer as soon as there was an infrastructure with some minimal
vectorization capabilities. The more trivial limitations will be the first
ones to be removed.

> It appears it doesn't dump why vectorization did or did not occur, even
> with -details.

At the end of tree-vectorizer.h you can set
#define DBG_VECT(A)
to
#define DBG_VECT(A) A
to get information on why vectorization did not occur.
Setting
#define DBG_VECT2(A) A
will spit even more details.

It should be changed to be cotrolled by a flag.

dorit


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