This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug target/49133] [4.6/4.7 Regression] modification of aliased __m128d miscompiles
- From: "ubizjak at gmail dot com" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Tue, 24 May 2011 11:47:47 +0000
- Subject: [Bug target/49133] [4.6/4.7 Regression] modification of aliased __m128d miscompiles
- Auto-submitted: auto-generated
- References: <bug-49133-4@http.gcc.gnu.org/bugzilla/>
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=49133
--- Comment #4 from Uros Bizjak <ubizjak at gmail dot com> 2011-05-24 10:53:10 UTC ---
(In reply to comment #3)
> > I applied the patch to the latest 4.6 snapshot. I confirm that it fixes the
> > bug. Also, there are no regressions in my testsuite.
> OTOH, it looks that this alternative is wrong entirely. Unmodified operand can
> only be passed in lower half (operand 1 in the pattern above). GCC will then
> generate unpcklpd, as suggested.
Forgot to say, that unpcklpd will be generated with removed referred
alternative.