* hppa-dis.c (print_insn_hppa): Replace 'B', 'M', 'g' and 'l' with
authorJeff Law <law@redhat.com>
Thu, 23 Sep 1999 14:28:25 +0000 (14:28 +0000)
committerJeff Law <law@redhat.com>
Thu, 23 Sep 1999 14:28:25 +0000 (14:28 +0000)
        cleaner code using completer prefixes.  Add 'Y'.

opcodes/ChangeLog
opcodes/hppa-dis.c

index 839c4e66d792439d2e1097de28af640818669e7c..3104951f18a380a690440907470f67c26277d405 100644 (file)
@@ -1,3 +1,8 @@
+Thu Sep 23 08:27:20 1999  Jerry Quinn <jerry.quinn.adv91@alum.dartmouth.org
+
+       * hppa-dis.c (print_insn_hppa): Replace 'B', 'M', 'g' and 'l' with
+       cleaner code using completer prefixes.  Add 'Y'.
+
 Sun Sep 19 10:41:27 1999  Jeffrey A Law  (law@cygnus.com)
 
        * hppa-dis.c: (print_insn_hppa): Correct 'cJ', 'cc'.
index 35f32ecd7fdc9350c1facc2f6494d83df476bc0c..592521708755df651b1b4713ca429b8690c0e3d4 100644 (file)
@@ -512,6 +512,15 @@ print_insn_hppa (memaddr, info)
                      (*info->fprintf_func) (info->stream, "%s ",
                                             short_bytes_compl_names[GET_COMPL (insn)]);
                      break;
+                   case 'g':
+                     (*info->fprintf_func) (info->stream, ",gate");
+                   case 'p':
+                     (*info->fprintf_func) (info->stream, ",l,push");
+                     break;
+                   case 'P':
+                     (*info->fprintf_func) (info->stream, ",pop");
+                     break;
+                   case 'l':
                    case 'L':
                      (*info->fprintf_func) (info->stream, ",l");
                      break;
@@ -851,6 +860,11 @@ print_insn_hppa (memaddr, info)
                  /* addil %r1 implicit output.  */
                  (*info->fprintf_func) (info->stream, "%%r1");
                  break;
+
+               case 'Y':
+                 /* be,l %sr0,%r31 implicit output.  */
+                 (*info->fprintf_func) (info->stream, "%%sr0,%%r31");
+                 break;
                  
                case '.':
                  (*info->fprintf_func) (info->stream, "%d",
@@ -1067,21 +1081,13 @@ print_insn_hppa (memaddr, info)
                                                + extract_22 (insn)),
                                               info);
                  break;
-               case 'B':
-                 fputs_filtered (",pop", info);
-                 break;
-               case 'M':
-                 fputs_filtered (",push", info);
+               case 'Y':
+                 /* be,l %sr0,%r31 implicit output.  */
+                 (*info->fprintf_func) (info->stream, "%%sr0,%%r31");
                  break;
                case 'L':
                  fputs_filtered (",%r2", info);
                  break;
-               case 'g':
-                 fputs_filtered (",gate", info);
-                 break;
-               case 'l':
-                 fputs_filtered (",l", info);
-                 break;
                default:
                  (*info->fprintf_func) (info->stream, "%c", *s);
                  break;