]> git.ipfire.org Git - thirdparty/gcc.git/commitdiff
* config/h8300/h8300.md: Use gen_int_mode instead of
authorkazu <kazu@138bc75d-0d04-0410-961f-82ee72b054a4>
Mon, 7 Jul 2003 15:51:27 +0000 (15:51 +0000)
committerkazu <kazu@138bc75d-0d04-0410-961f-82ee72b054a4>
Mon, 7 Jul 2003 15:51:27 +0000 (15:51 +0000)
GEN_INT (trunc_int_for_mode (...)).

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

gcc/ChangeLog
gcc/config/h8300/h8300.md

index a762872b9d6320a2c24361cf6b7777ee30c35f95..b5bd6df103a4b1448c446258923ca45df2ec2638 100644 (file)
@@ -1,3 +1,8 @@
+2003-07-07  Kazu Hirata  <kazu@cs.umass.edu>
+
+       * config/h8300/h8300.md: Use gen_int_mode instead of
+       GEN_INT (trunc_int_for_mode (...)).
+
 2003-07-07  Kazu Hirata  <kazu@cs.umass.edu>
 
        * config/h8300/h8300.md (pushqi1_h8300hs): Optimize by pushing
index 19dc9c88a0e2634f4d1000276e7cc9513b821944..8a1ef34ea35d190e53ab4566d5252456eae06143 100644 (file)
                      (label_ref (match_dup 2))
                      (pc)))]
   "operands[4] = gen_rtx_REG (QImode, REGNO (operands[0]));
-   operands[5] = GEN_INT (trunc_int_for_mode (INTVAL (operands[1]), QImode));")
+   operands[5] = gen_int_mode (INTVAL (operands[1]), QImode);")
 
 (define_peephole2
   [(set (match_operand:SI 0 "register_operand" "")
                      (label_ref (match_dup 2))
                      (pc)))]
   "operands[4] = gen_rtx_REG (QImode, REGNO (operands[0]));
-   operands[5] = GEN_INT (trunc_int_for_mode (INTVAL (operands[1]), QImode));")
+   operands[5] = gen_int_mode (INTVAL (operands[1]), QImode);")
 
 (define_peephole2
   [(set (match_operand:SI 0 "register_operand" "")
                      (label_ref (match_dup 2))
                      (pc)))]
   "operands[4] = gen_rtx_REG (HImode, REGNO (operands[0]));
-   operands[5] = GEN_INT (trunc_int_for_mode (INTVAL (operands[1]), HImode));")
+   operands[5] = gen_int_mode (INTVAL (operands[1]), HImode);")
 
 (define_peephole2
   [(set (match_operand:SI 0 "register_operand" "")
                      (label_ref (match_dup 3))
                      (pc)))]
   "operands[5] = gen_rtx_REG (QImode, REGNO (operands[0]));
-   operands[6] = GEN_INT (trunc_int_for_mode (INTVAL (operands[1]), QImode));
-   operands[7] = GEN_INT (trunc_int_for_mode (INTVAL (operands[2]), QImode));")
+   operands[6] = gen_int_mode (INTVAL (operands[1]), QImode);
+   operands[7] = gen_int_mode (INTVAL (operands[2]), QImode);")