summaryrefslogtreecommitdiff
path: root/gcc/config/stormy16
diff options
context:
space:
mode:
authorkazu <kazu@138bc75d-0d04-0410-961f-82ee72b054a4>2004-02-03 06:43:59 +0000
committerkazu <kazu@138bc75d-0d04-0410-961f-82ee72b054a4>2004-02-03 06:43:59 +0000
commitbcd9bd665e64a22cc182b977aeb149b1dcd66f64 (patch)
treee7887eeaccba2a41785ef04ceaa22b3bd673be59 /gcc/config/stormy16
parent6757f5d6deecafa06658804050bd5ed084973330 (diff)
downloadgcc-bcd9bd665e64a22cc182b977aeb149b1dcd66f64.tar.gz
* 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. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@77161 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/config/stormy16')
-rw-r--r--gcc/config/stormy16/stormy16.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/config/stormy16/stormy16.c b/gcc/config/stormy16/stormy16.c
index b1a5b1129fb..867cd2129a2 100644
--- a/gcc/config/stormy16/stormy16.c
+++ b/gcc/config/stormy16/stormy16.c
@@ -1696,7 +1696,7 @@ xstormy16_expand_casesi (rtx index, rtx lower_bound, rtx range,
emit_cmp_and_jump_insns (index, range, GTU, NULL_RTX, SImode, 1,
default_label);
int_index = gen_lowpart_common (HImode, index);
- emit_insn (gen_ashlhi3 (int_index, int_index, GEN_INT (2)));
+ emit_insn (gen_ashlhi3 (int_index, int_index, const2_rtx));
emit_jump_insn (gen_tablejump_pcrel (int_index, table));
}