[Bug middle-end/37491] [4.4 Regression] Revision 140257 causes vectorizer tests failures

rguenth at gcc dot gnu dot org gcc-bugzilla@gcc.gnu.org
Sun Sep 14 09:33:00 GMT 2008



------- Comment #2 from rguenth at gcc dot gnu dot org  2008-09-14 09:32 -------
I don't follow.  For vectorize2.c we have

    b[i] = lrint (a[i]);

where we should be able to vectorize this using lrint vectorization and
a scalar long -> int conversion (which is a no-op on i686 and should be
vectorized on x86_64).  There is no aliasing issue involved here.

But yes, the testcase should be changed to actually check something more
meaningful than one or more cvtpd2dq instructions.

Same for vectorize3.c.

The loop in pr36493.c should also be vectorizable, there isn't any alias
problem there.

Oh well, I guess the alias check logic in the vectorizer is still bogus.


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=37491



More information about the Gcc-bugs mailing list