diff options
author | Kazu Hirata <kazu@cs.umass.edu> | 2004-02-03 06:43:59 +0000 |
---|---|---|
committer | Kazu Hirata <kazu@gcc.gnu.org> | 2004-02-03 06:43:59 +0000 |
commit | a556fd39abf14ab516df0663c8df99ea8e81f9c5 (patch) | |
tree | e7887eeaccba2a41785ef04ceaa22b3bd673be59 /gcc/config/m32r/m32r.md | |
parent | 60c81c899553a6673c4b2e6f0ba26c7b56abbf9c (diff) | |
download | gcc-a556fd39abf14ab516df0663c8df99ea8e81f9c5.zip gcc-a556fd39abf14ab516df0663c8df99ea8e81f9c5.tar.gz gcc-a556fd39abf14ab516df0663c8df99ea8e81f9c5.tar.bz2 |
alpha.c, [...]: Use const0_rtx instead of GEN_INT (0).
* config/alpha/alpha.c, config/arm/arm.c, config/c4x/c4x.c,
config/fr30/fr30.md, config/frv/frv.c, config/frv/frv.md,
config/h8300/h8300.c, config/ia64/ia64.c, config/ip2k/ip2k.md,
config/m32r/m32r.md, config/m68hc11/m68hc11.c,
config/mips/mips.md, config/mmix/mmix.c,
config/mn10300/mn10300.c, config/mn10300/mn10300.md,
config/ns32k/ns32k.c, config/pa/pa.md, config/pdp11/pdp11.c,
config/rs6000/altivec.md, config/s390/s390.c,
config/s390/s390.h, config/s390/s390.md, config/sh/sh.c,
config/sh/sh.h, config/sh/sh.md, config/stormy16/stormy16.c:
Use const0_rtx instead of GEN_INT (0). Do the same for other
constants that are readily available.
From-SVN: r77161
Diffstat (limited to 'gcc/config/m32r/m32r.md')
-rw-r--r-- | gcc/config/m32r/m32r.md | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/gcc/config/m32r/m32r.md b/gcc/config/m32r/m32r.md index 5932f43..8880136 100644 --- a/gcc/config/m32r/m32r.md +++ b/gcc/config/m32r/m32r.md @@ -1743,7 +1743,7 @@ rtx op1 = operands[1]; start_sequence (); - emit_insn (gen_cmp_ltusi_insn (op1, GEN_INT (1))); + emit_insn (gen_cmp_ltusi_insn (op1, const1_rtx)); emit_insn (gen_movcc_insn (op0)); operands[3] = get_insns (); end_sequence (); @@ -1797,7 +1797,7 @@ else emit_insn (gen_xorsi3 (op3, op1, op2)); - emit_insn (gen_cmp_ltusi_insn (op3, GEN_INT (1))); + emit_insn (gen_cmp_ltusi_insn (op3, const1_rtx)); emit_insn (gen_movcc_insn (op0)); operands[4] = get_insns (); end_sequence (); @@ -1932,7 +1932,7 @@ HOST_WIDE_INT value = INTVAL (op2); if (value >= 2147483647) { - emit_move_insn (op0, GEN_INT (1)); + emit_move_insn (op0, const1_rtx); DONE; } @@ -2153,7 +2153,7 @@ HOST_WIDE_INT value = INTVAL (op2); if (value >= 2147483647) { - emit_move_insn (op0, GEN_INT (1)); + emit_move_insn (op0, const1_rtx); DONE; } |