OSDN Git Service

* config/arm/arm.md (insv): Use gen_int_mode in more places.
authordrow <drow@138bc75d-0d04-0410-961f-82ee72b054a4>
Wed, 5 Oct 2005 15:24:01 +0000 (15:24 +0000)
committerdrow <drow@138bc75d-0d04-0410-961f-82ee72b054a4>
Wed, 5 Oct 2005 15:24:01 +0000 (15:24 +0000)
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@104997 138bc75d-0d04-0410-961f-82ee72b054a4

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

index a21d4d8..83bc007 100644 (file)
@@ -1,3 +1,7 @@
+2005-10-05  Daniel Jacobowitz  <dan@codesourcery.com>
+
+       * config/arm/arm.md (insv): Use gen_int_mode in more places.
+
 2005-10-05  Andrew MacLeod  <amacleod@redhat.com>
 
        PR tree-optimization/18587
index 783fab0..b60ccb7 100644 (file)
        HOST_WIDE_INT op3_value = mask & INTVAL (operands[3]);
        HOST_WIDE_INT mask2 = ((mask & ~op3_value) << start_bit);
 
-       emit_insn (gen_andsi3 (op1, operands[0], GEN_INT (~mask2)));
+       emit_insn (gen_andsi3 (op1, operands[0],
+                              gen_int_mode (~mask2, SImode)));
        emit_insn (gen_iorsi3 (subtarget, op1,
                               gen_int_mode (op3_value << start_bit, SImode)));
       }
       }
     else
       {
-       rtx op0 = GEN_INT (mask);
+       rtx op0 = gen_int_mode (mask, SImode);
        rtx op1 = gen_reg_rtx (SImode);
        rtx op2 = gen_reg_rtx (SImode);
 
            && (const_ok_for_arm (mask << start_bit)
                || const_ok_for_arm (~(mask << start_bit))))
          {
-           op0 = GEN_INT (~(mask << start_bit));
+           op0 = gen_int_mode (~(mask << start_bit), SImode);
            emit_insn (gen_andsi3 (op2, operands[0], op0));
          }
        else