*** empty log message ***
authorRichard Stallman <rms@gnu.org>
Fri, 10 Jul 1992 23:05:50 +0000 (23:05 +0000)
committerRichard Stallman <rms@gnu.org>
Fri, 10 Jul 1992 23:05:50 +0000 (23:05 +0000)
From-SVN: r1554

gcc/genpeep.c

index 10f75d1caab9dc5d90a489c2f1c6acad8a25b488..ed30f11f25e130d1f3d0f5224f7e176da16f1fe7 100644 (file)
@@ -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.  */