re PR rtl-optimization/67609 (Generates wrong code for SSE2 _mm_load_pd)
authorRichard Henderson <rth@redhat.com>
Tue, 27 Oct 2015 19:59:41 +0000 (12:59 -0700)
committerRichard Henderson <rth@gcc.gnu.org>
Tue, 27 Oct 2015 19:59:41 +0000 (12:59 -0700)
commita271b387e6375d5612a2bd8669e0da1ac731e9c3
treeeec2e90ceb0a5636cb3bfde359439074db6769a1
parent7263fa9ff190a311c6fefc4aafb374437d1020ae
re PR rtl-optimization/67609 (Generates wrong code for SSE2 _mm_load_pd)

PR rtl-opt/67609

* config/i386/i386.c (ix86_cannot_change_mode_class): Disallow
narrowing subregs on SSE and MMX registers.
* doc/tm.texi.in (CANNOT_CHANGE_MODE_CLASS): Clarify when subregs that
appear to be sub-words of multi-register pseudos must be rejected.
* doc/tm.texi: Regenerate.
testsuite/
* gcc.target/i386/pr67609-2.c: New test.

From-SVN: r229458
gcc/ChangeLog
gcc/config/i386/i386.c
gcc/doc/tm.texi
gcc/doc/tm.texi.in
gcc/testsuite/ChangeLog
gcc/testsuite/gcc.target/i386/pr67609-2.c [new file with mode: 0644]