summaryrefslogtreecommitdiff
path: root/gcc/config/m68hc11/m68hc11.c
diff options
context:
space:
mode:
authorkazu <kazu@138bc75d-0d04-0410-961f-82ee72b054a4>2004-02-03 07:08:29 +0000
committerkazu <kazu@138bc75d-0d04-0410-961f-82ee72b054a4>2004-02-03 07:08:29 +0000
commitbe5bd17b6ac695258dad651ac22de76dfa3a096a (patch)
tree41d34e9d6d9a2ca071567938881ac977bdf79453 /gcc/config/m68hc11/m68hc11.c
parentbcd9bd665e64a22cc182b977aeb149b1dcd66f64 (diff)
downloadgcc-be5bd17b6ac695258dad651ac22de76dfa3a096a.tar.gz
* config/c4x/c4x.h (FUNCTION_VALUE): Use gen_rtx_REG instead
of gen_rtx. (LIBCALL_VALUE): Likewise. * config/ip2k/ip2k.c (mdr_try_propagate_clr_sequence): Use gen_rtx_CC0 instead of gen_rtx. * config/m68hc11/m68hc11.c (m68hc11_emit_libcall): Use gen_rtx_fmt_e and gen_rtx_fmt_ee instead of gen_rtx. (m68hc11_expand_compare): Use gen_rtx_fmt_ee instead of gen_rtx. (m68hc11_emit_logical): Likewise. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@77162 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/config/m68hc11/m68hc11.c')
-rw-r--r--gcc/config/m68hc11/m68hc11.c19
1 files changed, 10 insertions, 9 deletions
diff --git a/gcc/config/m68hc11/m68hc11.c b/gcc/config/m68hc11/m68hc11.c
index 188c8994740..c4304211512 100644
--- a/gcc/config/m68hc11/m68hc11.c
+++ b/gcc/config/m68hc11/m68hc11.c
@@ -866,7 +866,7 @@ m68hc11_emit_libcall (const char *name, enum rtx_code code,
case 2:
ret = emit_library_call_value (libcall, NULL_RTX, LCT_CONST,
dmode, 1, operands[1], smode);
- equiv = gen_rtx (code, dmode, operands[1]);
+ equiv = gen_rtx_fmt_e (code, dmode, operands[1]);
break;
case 3:
@@ -874,7 +874,7 @@ m68hc11_emit_libcall (const char *name, enum rtx_code code,
LCT_CONST, dmode, 2,
operands[1], smode, operands[2],
smode);
- equiv = gen_rtx (code, dmode, operands[1], operands[2]);
+ equiv = gen_rtx_fmt_ee (code, dmode, operands[1], operands[2]);
break;
default:
@@ -2498,7 +2498,7 @@ m68hc11_expand_compare (enum rtx_code code, rtx op0, rtx op1)
{
emit_insn (gen_rtx_SET (VOIDmode, cc0_rtx,
gen_rtx_COMPARE (VOIDmode, op0, op1)));
- ret = gen_rtx (code, VOIDmode, cc0_rtx, const0_rtx);
+ ret = gen_rtx_fmt_ee (code, VOIDmode, cc0_rtx, const0_rtx);
}
return ret;
@@ -2976,17 +2976,18 @@ m68hc11_emit_logical (enum machine_mode mode, int code, rtx *operands)
{
emit_move_insn (operands[3], operands[1]);
emit_insn (gen_rtx_SET (mode,
- operands[3],
- gen_rtx (code, mode,
- operands[3], operands[2])));
+ operands[3],
+ gen_rtx_fmt_ee (code, mode,
+ operands[3], operands[2])));
insn = emit_move_insn (operands[0], operands[3]);
}
else
{
insn = emit_insn (gen_rtx_SET (mode,
- operands[0],
- gen_rtx (code, mode,
- operands[0], operands[2])));
+ operands[0],
+ gen_rtx_fmt_ee (code, mode,
+ operands[0],
+ operands[2])));
}
}