diff options
author | Richard Kenner <kenner@gcc.gnu.org> | 1992-07-12 17:42:39 -0400 |
---|---|---|
committer | Richard Kenner <kenner@gcc.gnu.org> | 1992-07-12 17:42:39 -0400 |
commit | 6f6547765e1283d7a76888fe0eb0c5b5318d9df9 (patch) | |
tree | 9b412e72642bcd545b40f09d8ec58b71e912c5f7 | |
parent | f1f1ae8efa4cdcaef5c2677f36c85ad20df5d2a3 (diff) | |
download | gcc-6f6547765e1283d7a76888fe0eb0c5b5318d9df9.zip gcc-6f6547765e1283d7a76888fe0eb0c5b5318d9df9.tar.gz gcc-6f6547765e1283d7a76888fe0eb0c5b5318d9df9.tar.bz2 |
entered into RCS
From-SVN: r1580
-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 ed30f11..aeac6e0 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 cd5b0d0..6c6e029 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 |