add 'H' to print_operand for six-bit mask
authorDavid Edelsohn <edelsohn@gnu.org>
Wed, 28 Feb 1996 00:19:30 +0000 (00:19 +0000)
committerDavid Edelsohn <edelsohn@gnu.org>
Wed, 28 Feb 1996 00:19:30 +0000 (00:19 +0000)
From-SVN: r11357

gcc/config/rs6000/rs6000.c

index b611ee1288aa8da625832ddab3f99d69bfb2d2ca..cb05d880a2b71f858b46d3466835e21de9d11b36 100644 (file)
@@ -2054,6 +2054,15 @@ print_operand (file, x, code)
        print_operand (file, x, 0);
       return;
 
+    case 'H':
+      /* If constant, output low-order six bits.  Otherwise,
+        write normally. */
+      if (INT_P (x))
+       fprintf (file, "%d", INT_LOWPART (x) & 63);
+      else
+       print_operand (file, x, 0);
+      return;
+
     case 'I':
       /* Print `i' if this is a constant, else nothing.  */
       if (INT_P (x))