diff options
author | rth <rth@138bc75d-0d04-0410-961f-82ee72b054a4> | 1998-01-08 21:17:05 +0000 |
---|---|---|
committer | rth <rth@138bc75d-0d04-0410-961f-82ee72b054a4> | 1998-01-08 21:17:05 +0000 |
commit | 3ad7bb1c4e139ace447a40e0b7510a517414a4be (patch) | |
tree | c792e877a8974b6884a66403f5d9b9ee06c23290 /gcc/genemit.c | |
parent | dfd19fdfa08d7d954ee01796ed1d9ed1400d6283 (diff) | |
download | gcc-3ad7bb1c4e139ace447a40e0b7510a517414a4be.tar.gz |
* 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.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@17312 138bc75d-0d04-0410-961f-82ee72b054a4
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 4b8485242a3..9dacd528e46 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"); |