aboutsummaryrefslogtreecommitdiff
path: root/gcc/config/c4x/c4x.c
diff options
context:
space:
mode:
authorKazu Hirata <kazu@cs.umass.edu>2004-02-03 06:43:59 +0000
committerKazu Hirata <kazu@gcc.gnu.org>2004-02-03 06:43:59 +0000
commita556fd39abf14ab516df0663c8df99ea8e81f9c5 (patch)
treee7887eeaccba2a41785ef04ceaa22b3bd673be59 /gcc/config/c4x/c4x.c
parent60c81c899553a6673c4b2e6f0ba26c7b56abbf9c (diff)
downloadgcc-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/c4x/c4x.c')
-rw-r--r--gcc/config/c4x/c4x.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/gcc/config/c4x/c4x.c b/gcc/config/c4x/c4x.c
index 3b01c50..0d06a12 100644
--- a/gcc/config/c4x/c4x.c
+++ b/gcc/config/c4x/c4x.c
@@ -1077,7 +1077,7 @@ c4x_expand_epilogue(void)
gen_rtx_PLUS
(QImode, gen_rtx_REG (QImode,
AR3_REGNO),
- GEN_INT(-1)))));
+ constm1_rtx))));
RTX_FRAME_RELATED_P (insn) = 1;
/* We already have the return value and the fp,
@@ -2359,8 +2359,8 @@ c4x_rptb_insert (rtx insn)
{
/* We can not use the rptb insn. Replace it so reorg can use
the delay slots of the jump insn. */
- emit_insn_before (gen_addqi3 (count_reg, count_reg, GEN_INT (-1)), insn);
- emit_insn_before (gen_cmpqi (count_reg, GEN_INT (0)), insn);
+ emit_insn_before (gen_addqi3 (count_reg, count_reg, constm1_rtx), insn);
+ emit_insn_before (gen_cmpqi (count_reg, const0_rtx), insn);
emit_insn_before (gen_bge (start_label), insn);
LABEL_NUSES (start_label)++;
delete_insn (insn);