aboutsummaryrefslogtreecommitdiff
path: root/gcc
diff options
context:
space:
mode:
authorRichard Stallman <rms@gnu.org>1992-07-10 23:05:50 +0000
committerRichard Stallman <rms@gnu.org>1992-07-10 23:05:50 +0000
commit52a5538b4fda89d923ddc8cb7021d1cd0b8508c7 (patch)
tree95a62f66a293c4ed8e4768be6185a22e844fea89 /gcc
parentb4f960113249a2679de1f33e1cc7cf510bc2fec8 (diff)
downloadgcc-52a5538b4fda89d923ddc8cb7021d1cd0b8508c7.zip
gcc-52a5538b4fda89d923ddc8cb7021d1cd0b8508c7.tar.gz
gcc-52a5538b4fda89d923ddc8cb7021d1cd0b8508c7.tar.bz2
*** empty log message ***
From-SVN: r1554
Diffstat (limited to 'gcc')
-rw-r--r--gcc/genpeep.c13
1 files changed, 13 insertions, 0 deletions
diff --git a/gcc/genpeep.c b/gcc/genpeep.c
index 10f75d1ca..ed30f11 100644
--- a/gcc/genpeep.c
+++ b/gcc/genpeep.c
@@ -311,6 +311,19 @@ match_rtx (x, path, fail_label)
printf (" if (XINT (x, %d) != %d) goto L%d;\n",
i, XINT (x, i), fail_label);
}
+ else if (fmt[i] == 'w')
+ {
+ /* Make sure that at run time `x' is the RTX we want to test. */
+ if (i != 0)
+ {
+ printf (" x = ");
+ print_path (path);
+ printf (";\n");
+ }
+
+ printf (" if (XWINT (x, %d) != %d) goto L%d;\n",
+ i, XWINT (x, i), fail_label);
+ }
else if (fmt[i] == 's')
{
/* Make sure that at run time `x' is the RTX we want to test. */