re PR rtl-optimization/7967 (optimization produces wrong code (ARM))

PR optimization/7967
* arm.md (ne_zeroextractsi): Add clobber of the condition code
register.

From-SVN: r57278
This commit is contained in:
Richard Earnshaw 2002-09-18 14:01:58 +00:00 committed by Richard Earnshaw
parent dd29188b82
commit 872e50d35b
2 changed files with 8 additions and 1 deletions

View 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.

View File

@ -1838,7 +1838,8 @@
(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