2010-06-30 Richard Guenther <rguenther@suse.de>
authorrguenth <rguenth@138bc75d-0d04-0410-961f-82ee72b054a4>
Wed, 30 Jun 2010 11:09:37 +0000 (11:09 +0000)
committerrguenth <rguenth@138bc75d-0d04-0410-961f-82ee72b054a4>
Wed, 30 Jun 2010 11:09:37 +0000 (11:09 +0000)
PR target/44722
* config/i386/i386.md (peephole2 for fix:SSEMODEI24): Guard
against oscillation with reverse peephole2.

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

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

index 4d3dd57..20716b5 100644 (file)
@@ -1,3 +1,9 @@
+2010-06-30  Richard Guenther  <rguenther@suse.de>
+
+       PR target/44722
+       * config/i386/i386.md (peephole2 for fix:SSEMODEI24): Guard
+       against oscillation with reverse peephole2.
+
 2010-06-30  H.J. Lu  <hongjiu.lu@intel.com>
 
        PR target/44721
index c450c38..e361fd7 100644 (file)
    (set (match_operand:SSEMODEI24 2 "register_operand" "")
        (fix:SSEMODEI24 (match_dup 0)))]
   "TARGET_SHORTEN_X87_SSE
+   && !(TARGET_AVOID_VECTOR_DECODE && optimize_insn_for_speed_p ())
    && peep2_reg_dead_p (2, operands[0])"
   [(set (match_dup 2) (fix:SSEMODEI24 (match_dup 1)))]
   "")