OSDN Git Service

*** empty log message ***
authorrms <rms@138bc75d-0d04-0410-961f-82ee72b054a4>
Fri, 10 Jul 1992 23:05:50 +0000 (23:05 +0000)
committerrms <rms@138bc75d-0d04-0410-961f-82ee72b054a4>
Fri, 10 Jul 1992 23:05:50 +0000 (23:05 +0000)
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@1554 138bc75d-0d04-0410-961f-82ee72b054a4

gcc/genpeep.c

index 10f75d1..ed30f11 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.  */