OSDN Git Service

2009-02-15 H.J. Lu <hongjiu.lu@intel.com>
authorhjl <hjl@138bc75d-0d04-0410-961f-82ee72b054a4>
Sun, 15 Feb 2009 20:12:41 +0000 (20:12 +0000)
committerhjl <hjl@138bc75d-0d04-0410-961f-82ee72b054a4>
Sun, 15 Feb 2009 20:12:41 +0000 (20:12 +0000)
PR target/39196
* config/i386/i386.md: Restrict the new peephole2 to move
between MMX/SSE registers.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@144191 138bc75d-0d04-0410-961f-82ee72b054a4

gcc/ChangeLog
gcc/config/i386/i386.md

index 7246098..0ab715f 100644 (file)
@@ -1,3 +1,9 @@
+2009-02-15  H.J. Lu  <hongjiu.lu@intel.com>
+
+       PR target/39196
+       * config/i386/i386.md: Restrict the new peephole2 to move
+       between MMX/SSE registers.
+
 2009-02-15  Richard Guenther  <rguenther@suse.de>
 
        Revert
index f8a4209..de669ba 100644 (file)
                      [(match_dup 0)
                       (match_operand 2 "memory_operand" "")]))]
   "operands[0] != operands[1]
-   && (MMX_REG_P (operands[0]) || SSE_REG_P (operands[0]))"
+   && ((MMX_REG_P (operands[0]) && MMX_REG_P (operands[1])) 
+       || (SSE_REG_P (operands[0]) && SSE_REG_P (operands[1])))"
   [(set (match_dup 0) (match_dup 2))
    (set (match_dup 0)
         (match_op_dup 3 [(match_dup 0) (match_dup 1)]))]