* mips-dis.c (print_insn_args): Print $fcc only for FP

instructions, use $cc elsewise.
This commit is contained in:
Thiemo Seufer 2006-04-28 12:19:31 +00:00
parent 654c225a6d
commit 0d09bfe6d3
2 changed files with 9 additions and 1 deletions

View 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>

View 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;