aboutsummaryrefslogtreecommitdiff
path: root/gcc/config/c4x
diff options
context:
space:
mode:
authorKazu Hirata <kazu@cs.umass.edu>2004-02-02 06:31:08 +0000
committerKazu Hirata <kazu@gcc.gnu.org>2004-02-02 06:31:08 +0000
commit1c563bedd20566f2808fed0054fa2c6839520748 (patch)
tree2249fc0052d6cffd5c822372939c700c16faed7e /gcc/config/c4x
parent67245ad3f1592c28916332c9ce03d49c0c3f0acd (diff)
downloadgcc-1c563bedd20566f2808fed0054fa2c6839520748.zip
gcc-1c563bedd20566f2808fed0054fa2c6839520748.tar.gz
gcc-1c563bedd20566f2808fed0054fa2c6839520748.tar.bz2
arc.md, [...]: Replace gen_rtx with gen_rtx_fmt_e*.
* config/arc/arc.md, config/arm/arm.c, config/arm/arm.md, config/c4x/c4x.c, config/c4x/c4x.md, config/cris/cris.md, config/frv/frv.c, config/h8300/h8300.c, config/ip2k/ip2k.md, config/iq2000/iq2000.c, config/m32r/m32r.c, config/mcore/mcore.c, config/mips/mips.c, config/mmix/mmix.md, config/mn10300/mn10300.c, config/rs6000/rs6000.c, config/rs6000/rs6000.md, config/sh/sh.c, config/sh/sh.md, config/stormy16/stormy16.c, config/v850/v850.md, config/xtensa/xtensa.c: Replace gen_rtx with gen_rtx_fmt_e*. From-SVN: r77098
Diffstat (limited to 'gcc/config/c4x')
-rw-r--r--gcc/config/c4x/c4x.c8
-rw-r--r--gcc/config/c4x/c4x.md6
2 files changed, 7 insertions, 7 deletions
diff --git a/gcc/config/c4x/c4x.c b/gcc/config/c4x/c4x.c
index b389296..3b01c50 100644
--- a/gcc/config/c4x/c4x.c
+++ b/gcc/config/c4x/c4x.c
@@ -1390,13 +1390,13 @@ c4x_emit_libcall (rtx libcall, enum rtx_code code,
case 2:
ret = emit_library_call_value (libcall, NULL_RTX, 1, dmode, 1,
operands[1], smode);
- equiv = gen_rtx (code, dmode, operands[1]);
+ equiv = gen_rtx_fmt_e (code, dmode, operands[1]);
break;
case 3:
ret = emit_library_call_value (libcall, NULL_RTX, 1, 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:
@@ -1431,8 +1431,8 @@ c4x_emit_libcall_mulhi (rtx libcall, enum rtx_code code,
equiv = gen_rtx_TRUNCATE (mode,
gen_rtx_LSHIFTRT (HImode,
gen_rtx_MULT (HImode,
- gen_rtx (code, HImode, operands[1]),
- gen_rtx (code, HImode, operands[2])),
+ gen_rtx_fmt_e (code, HImode, operands[1]),
+ gen_rtx_fmt_e (code, HImode, operands[2])),
GEN_INT (32)));
insns = get_insns ();
end_sequence ();
diff --git a/gcc/config/c4x/c4x.md b/gcc/config/c4x/c4x.md
index a27e29b..f6a9afd 100644
--- a/gcc/config/c4x/c4x.md
+++ b/gcc/config/c4x/c4x.md
@@ -4247,7 +4247,7 @@
if (ccreg == NULL_RTX) FAIL;
emit_insn (gen_rtx_SET (QImode, operands[0],
gen_rtx_IF_THEN_ELSE (QImode,
- gen_rtx (code, VOIDmode, ccreg, const0_rtx),
+ gen_rtx_fmt_ee (code, VOIDmode, ccreg, const0_rtx),
operands[2], operands[3])));
DONE;}")
@@ -4291,7 +4291,7 @@
if (ccreg == NULL_RTX) FAIL;
emit_insn (gen_rtx_SET (QFmode, operands[0],
gen_rtx_IF_THEN_ELSE (QFmode,
- gen_rtx (code, VOIDmode, ccreg, const0_rtx),
+ gen_rtx_fmt_ee (code, VOIDmode, ccreg, const0_rtx),
operands[2], operands[3])));
DONE;}")
@@ -4334,7 +4334,7 @@
if (ccreg == NULL_RTX) FAIL;
emit_insn (gen_rtx_SET (HFmode, operands[0],
gen_rtx_IF_THEN_ELSE (HFmode,
- gen_rtx (code, VOIDmode, ccreg, const0_rtx),
+ gen_rtx_fmt_ee (code, VOIDmode, ccreg, const0_rtx),
operands[2], operands[3])));
DONE;}")