summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--gcc/ChangeLog5
-rw-r--r--gcc/config/arm/arm.md2
2 files changed, 6 insertions, 1 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog
index 746938a6165..9c56aae0d30 100644
--- a/gcc/ChangeLog
+++ b/gcc/ChangeLog
@@ -1,3 +1,8 @@
+2009-07-23 Richard Earnshaw <rearnsha@arm.com>
+
+ (split for ior/xor with shift and zero-extend): Cast op3 to
+ unsigned HWI.
+
2009-07-23 Uros Bizjak <ubizjak@gmail.com>
PR target/40832
diff --git a/gcc/config/arm/arm.md b/gcc/config/arm/arm.md
index 7aaa4c65f4e..863a6705ba3 100644
--- a/gcc/config/arm/arm.md
+++ b/gcc/config/arm/arm.md
@@ -4219,7 +4219,7 @@
(match_operator 5 "subreg_lowpart_operator"
[(match_operand:SI 4 "s_register_operand" "")]))))]
"TARGET_32BIT
- && (INTVAL (operands[3])
+ && ((unsigned HOST_WIDE_INT) INTVAL (operands[3])
== (GET_MODE_MASK (GET_MODE (operands[5]))
& (GET_MODE_MASK (GET_MODE (operands[5]))
<< (INTVAL (operands[2])))))"
OpenPOWER on IntegriCloud