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]

[PATCH, i386]: Fix PR 49133


Hello!

shufpd can't be used to implement sse2_loadhpd pattern, since shufpd
can move input, matched to output only to the lower half of the
vector.

2011-05-24  Uros Bizjak  <ubizjak@gmail.com>

	PR target/49133
	* config/i386/sse.md (sse2_loadhpd): Remove shufpd alternative.

testsuite/ChangeLog:

2011-05-24  Uros Bizjak  <ubizjak@gmail.com>

	PR target/49133
	* g++.dg/other/pr49133.C: New test.

Tested on x86_64-pc-linux-gnu {,-m32}, committed to SVN mainline, will
be backported to release branches.

Uros.


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