From 0d09bfe6d3ab7e840abb4d6d05362f92aa505c42 Mon Sep 17 00:00:00 2001 From: Thiemo Seufer Date: Fri, 28 Apr 2006 12:19:31 +0000 Subject: [PATCH] * mips-dis.c (print_insn_args): Print $fcc only for FP instructions, use $cc elsewise. --- opcodes/ChangeLog | 6 ++++++ opcodes/mips-dis.c | 4 +++- 2 files changed, 9 insertions(+), 1 deletion(-) 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; -- 2.30.2