This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug middle-end/37491] [4.4 Regression] Revision 140257 causes vectorizer tests failures
- From: "rguenth at gcc dot gnu dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 14 Sep 2008 09:32:35 -0000
- Subject: [Bug middle-end/37491] [4.4 Regression] Revision 140257 causes vectorizer tests failures
- References: <bug-37491-682@http.gcc.gnu.org/bugzilla/>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- 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