diff options
author | kenner <kenner@138bc75d-0d04-0410-961f-82ee72b054a4> | 1992-07-12 21:42:39 +0000 |
---|---|---|
committer | kenner <kenner@138bc75d-0d04-0410-961f-82ee72b054a4> | 1992-07-12 21:42:39 +0000 |
commit | 40c12d6591ac53b85d1a9c2efba26ca52c319435 (patch) | |
tree | 9b412e72642bcd545b40f09d8ec58b71e912c5f7 | |
parent | 8140e9af41d0f482413887252c06b04dec8175cd (diff) | |
download | gcc-40c12d6591ac53b85d1a9c2efba26ca52c319435.tar.gz |
entered into RCS
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@1580 138bc75d-0d04-0410-961f-82ee72b054a4
-rw-r--r-- | gcc/genpeep.c | 5 | ||||
-rw-r--r-- | gcc/regclass.c | 2 |
2 files changed, 6 insertions, 1 deletions
diff --git a/gcc/genpeep.c b/gcc/genpeep.c index ed30f11f25e..aeac6e06c62 100644 --- a/gcc/genpeep.c +++ b/gcc/genpeep.c @@ -321,8 +321,13 @@ match_rtx (x, path, fail_label) printf (";\n"); } +#if HOST_BITS_PER_WIDE_INT == HOST_BITS_PER_INT printf (" if (XWINT (x, %d) != %d) goto L%d;\n", i, XWINT (x, i), fail_label); +#else + printf (" if (XWINT (x, %d) != %ld) goto L%d;\n", + i, XWINT (x, i), fail_label); +#endif } else if (fmt[i] == 's') { diff --git a/gcc/regclass.c b/gcc/regclass.c index cd5b0d00259..6c6e0292328 100644 --- a/gcc/regclass.c +++ b/gcc/regclass.c @@ -1139,7 +1139,7 @@ record_reg_classes (n_alts, n_ops, ops, modes, constraints, insn) else if (win || (GET_CODE (op) == REG - && reg_fits_class_p (op, classes[i], 0, mode))) + && reg_fits_class_p (op, classes[i], 0, GET_MODE (op)))) ; /* If registers are valid, the cost of this alternative includes |