Add missing handlers for v9 operands.
authorMichael Tiemann <tiemann@cygnus>
Sun, 15 Dec 1991 22:04:01 +0000 (22:04 +0000)
committerMichael Tiemann <tiemann@cygnus>
Sun, 15 Dec 1991 22:04:01 +0000 (22:04 +0000)
binutils/sparc-pinsn.c

index 003d4b62bf3ad7d86b0e9bc02c7803e401029fef..bef74f57352cf8392953ab7da3628234ce5758b4 100644 (file)
@@ -304,10 +304,11 @@ memcpy(&insn,buffer, sizeof (insn));
                                   stream);
                    break;
 
-                 case 'K':
+                 case 'G':
                    print_address ((bfd_vma)
                                   (memaddr
-                                   + (((int) insn.disp21 << 11) >> 11) * 4),
+                                   /* We use only 19 of the 21 bits.  */
+                                   + (((int) insn.disp21 << 13) >> 13) * 4),
                                   stream);
                    break;
 
@@ -315,6 +316,20 @@ memcpy(&insn,buffer, sizeof (insn));
                    fputs ("%amr", stream);
                    break;
 
+                 case '6':
+                 case '7':
+                 case '8':
+                 case '9':
+                   fprintf (stream, "fcc%c", *s - '6' + '0');
+                   break;
+
+                 case 'z':
+                   fputs ("icc", stream);
+                   break;
+
+                 case 'Z':
+                   fputs ("xcc", stream);
+                   break;
 #endif                         /* NO_V9 */
 
                  case 'M':