re PR rtl-optimization/7967 (optimization produces wrong code (ARM))
authorRichard Earnshaw <rearnsha@arm.com>
Wed, 18 Sep 2002 14:01:58 +0000 (14:01 +0000)
committerRichard Earnshaw <rearnsha@gcc.gnu.org>
Wed, 18 Sep 2002 14:01:58 +0000 (14:01 +0000)
PR optimization/7967
* arm.md (ne_zeroextractsi): Add clobber of the condition code
register.

From-SVN: r57278

gcc/ChangeLog
gcc/config/arm/arm.md

index fcf11dd27d0c2e0218d564edf3f6e18511b3c855..ee2543a4414765ea8882adbcb7618398e6e5aaa7 100644 (file)
@@ -1,3 +1,9 @@
+2002-09-18  Richard Earnshaw  (reanrsha@arm.com)
+
+       PR optimization/7967
+       * arm.md (ne_zeroextractsi): Add clobber of the condition code
+       register.
+
 2002-09-18  Kazu Hirata  <kazu@cs.umass.edu>
 
        * config/s390/s390.c: Follow spelling convention.
index b56955d3b80bd2174626cbd4c788b37255d13529..a830462be20254bf698b73d4178624c603d591b8 100644 (file)
                (match_operand:SI 1 "s_register_operand" "r")
                (match_operand:SI 2 "const_int_operand" "n")
                (match_operand:SI 3 "const_int_operand" "n"))
-              (const_int 0)))]
+              (const_int 0)))
+   (clobber (reg:CC CC_REGNUM))]
   "TARGET_ARM
    && (INTVAL (operands[3]) >= 0 && INTVAL (operands[3]) < 32
        && INTVAL (operands[2]) > 0