OSDN Git Service

Use unsigned HOST_WIDE_INT, not unsigned.
authormeissner <meissner@138bc75d-0d04-0410-961f-82ee72b054a4>
Tue, 8 Jul 1997 20:48:20 +0000 (20:48 +0000)
committermeissner <meissner@138bc75d-0d04-0410-961f-82ee72b054a4>
Tue, 8 Jul 1997 20:48:20 +0000 (20:48 +0000)
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@14402 138bc75d-0d04-0410-961f-82ee72b054a4

gcc/config/rs6000/rs6000.md

index 8710673..1616e2e 100644 (file)
   "bla __quous"
   [(set_attr "type" "idiv")])
 \f
+;; Logical instructions
 (define_insn "andsi3"
   [(set (match_operand:SI 0 "gpc_reg_operand" "=r,r,r,r")
        (and:SI (match_operand:SI 1 "gpc_reg_operand" "%r,r,r,r")
 (define_split
   [(set (match_operand:SI 0 "gpc_reg_operand" "")
        (match_operand:SI 1 "const_int_operand" ""))]
-  "(unsigned) (INTVAL (operands[1]) + 0x8000) >= 0x10000
+  "(unsigned HOST_WIDE_INT) (INTVAL (operands[1]) + 0x8000) >= 0x10000
    && (INTVAL (operands[1]) & 0xffff) != 0"
   [(set (match_dup 0)
        (match_dup 2))