OSDN Git Service

(split for ior/xor with shift and zero-extend): Cast op3 to
authorrearnsha <rearnsha@138bc75d-0d04-0410-961f-82ee72b054a4>
Thu, 23 Jul 2009 15:02:20 +0000 (15:02 +0000)
committerrearnsha <rearnsha@138bc75d-0d04-0410-961f-82ee72b054a4>
Thu, 23 Jul 2009 15:02:20 +0000 (15:02 +0000)
unsigned HWI.

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

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

index 746938a..9c56aae 100644 (file)
@@ -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
index 7aaa4c6..863a670 100644 (file)
                     (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])))))"