From: Thiemo Seufer Date: Fri, 28 Apr 2006 12:19:31 +0000 (+0000) Subject: * mips-dis.c (print_insn_args): Print $fcc only for FP X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=0d09bfe6d3ab7e840abb4d6d05362f92aa505c42;p=binutils-gdb.git * mips-dis.c (print_insn_args): Print $fcc only for FP instructions, use $cc elsewise. --- diff --git a/opcodes/ChangeLog b/opcodes/ChangeLog index 35d9a3d1434..fde7b809779 100644 --- a/opcodes/ChangeLog +++ b/opcodes/ChangeLog @@ -1,3 +1,9 @@ +2006-04-28 Thiemo Seufer + Nigel Stevens + + * mips-dis.c (print_insn_args): Print $fcc only for FP + instructions, use $cc elsewise. + 2006-04-28 Thiemo Seufer Nigel Stevens diff --git a/opcodes/mips-dis.c b/opcodes/mips-dis.c index 5001f06ac40..416be375a5b 100644 --- a/opcodes/mips-dis.c +++ b/opcodes/mips-dis.c @@ -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;