* mips-dis.c (print_insn_args): Print $fcc only for FP
authorThiemo Seufer <ths@networkno.de>
Fri, 28 Apr 2006 12:19:31 +0000 (12:19 +0000)
committerThiemo Seufer <ths@networkno.de>
Fri, 28 Apr 2006 12:19:31 +0000 (12:19 +0000)
instructions, use $cc elsewise.

opcodes/ChangeLog
opcodes/mips-dis.c

index 35d9a3d1434904ea72a44e98658d1f8937294532..fde7b809779716ad5470c3bc3c2a6c3b1f868952 100644 (file)
@@ -1,3 +1,9 @@
+2006-04-28  Thiemo Seufer  <ths@mips.com>
+            Nigel Stevens  <nigel@mips.com>
+
+       * mips-dis.c (print_insn_args): Print $fcc only for FP
+       instructions, use $cc elsewise.
+
 2006-04-28  Thiemo Seufer  <ths@mips.com>
             Nigel Stevens  <nigel@mips.com>
 
index 5001f06ac407621f53e4b8a845befdaaa9f595dc..416be375a5babe89ced9d09b9d2de75fbce2cd98 100644 (file)
@@ -1072,7 +1072,9 @@ print_insn_args (const char *d,
          break;
 
        case 'N':
-         (*info->fprintf_func) (info->stream, "$fcc%ld",
+         (*info->fprintf_func) (info->stream,
+                                ((opp->pinfo & (FP_D | FP_S)) != 0
+                                 ? "$fcc%ld" : "$cc%ld"),
                                 (l >> OP_SH_BCC) & OP_MASK_BCC);
          break;
 
This page took 0.029355 seconds and 4 git commands to generate.