diff options
author | Richard Henderson <rth@cygnus.com> | 1998-01-08 13:17:05 -0800 |
---|---|---|
committer | Richard Henderson <rth@gcc.gnu.org> | 1998-01-08 13:17:05 -0800 |
commit | 3b80f6ca69f78207e8fcf8e835a4a8aa2e4abfba (patch) | |
tree | c792e877a8974b6884a66403f5d9b9ee06c23290 /gcc/genemit.c | |
parent | f4a233434d41848d9ae3bcb0f9518dfd986143ba (diff) | |
download | gcc-3b80f6ca69f78207e8fcf8e835a4a8aa2e4abfba.zip gcc-3b80f6ca69f78207e8fcf8e835a4a8aa2e4abfba.tar.gz gcc-3b80f6ca69f78207e8fcf8e835a4a8aa2e4abfba.tar.bz2 |
Makefile.in (OBJ, GEN, RTL_H): Add genrtl.[oh] bits.
* Makefile.in (OBJ, GEN, RTL_H): Add genrtl.[oh] bits.
* emit-rtl.c (gen_rtx): Move special code to ...
(gen_rtx_CONST_INT): New function.
(gen_rtx_REG): New function.
(*): Update all calls to gen_rtx.
* genemit.c (gen_exp): Emit calls to gen_rtx_FOO for constant FOO.
* rtl.h: Include genrtl.h; prototype CONST_INT & REG generators.
(GEN_INT): Call gen_rtx_CONST_INT.
* gengenrtl.c: New file.
From-SVN: r17312
Diffstat (limited to 'gcc/genemit.c')
-rw-r--r-- | gcc/genemit.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/gcc/genemit.c b/gcc/genemit.c index 4b84852..9dacd52 100644 --- a/gcc/genemit.c +++ b/gcc/genemit.c @@ -188,7 +188,7 @@ gen_exp (x) return; case MATCH_SCRATCH: - printf ("gen_rtx (SCRATCH, %smode, 0)", GET_MODE_NAME (GET_MODE (x))); + printf ("gen_rtx_SCRATCH (%smode)", GET_MODE_NAME (GET_MODE (x))); return; case ADDRESS: @@ -230,9 +230,9 @@ gen_exp (x) break; } - printf ("gen_rtx ("); + printf ("gen_rtx_"); print_code (code); - printf (", %smode", GET_MODE_NAME (GET_MODE (x))); + printf (" (%smode", GET_MODE_NAME (GET_MODE (x))); fmt = GET_RTX_FORMAT (code); len = GET_RTX_LENGTH (code); @@ -371,7 +371,7 @@ gen_insn (insn) } else { - printf (" return gen_rtx (PARALLEL, VOIDmode, gen_rtvec (%d", XVECLEN (insn, 1)); + printf (" return gen_rtx_PARALLEL (VOIDmode, gen_rtvec (%d", XVECLEN (insn, 1)); for (i = 0; i < XVECLEN (insn, 1); i++) { printf (",\n\t\t"); |