From 95fd5cee7d75ef350b51684e7977872a6bd6b58e Mon Sep 17 00:00:00 2001 From: Chris Demetriou Date: Wed, 12 Jun 2002 23:20:56 +0000 Subject: [PATCH] 2002-06-12 Chris Demetriou * mips.igen (MOVN, MOVZ): Trace result. (TNEI): Print "tnei" as the opcode name in traces. (CEIL.W): Add disassembly string for traces. (RSQRT.fmt): Make location of disassembly string consistent with other instructions. --- sim/mips/ChangeLog | 8 ++++++++ sim/mips/mips.igen | 15 +++++++++++---- 2 files changed, 19 insertions(+), 4 deletions(-) diff --git a/sim/mips/ChangeLog b/sim/mips/ChangeLog index 6c11e3002b1..58f3fa79545 100644 --- a/sim/mips/ChangeLog +++ b/sim/mips/ChangeLog @@ -1,3 +1,11 @@ +2002-06-12 Chris Demetriou + + * mips.igen (MOVN, MOVZ): Trace result. + (TNEI): Print "tnei" as the opcode name in traces. + (CEIL.W): Add disassembly string for traces. + (RSQRT.fmt): Make location of disassembly string consistent + with other instructions. + 2002-06-12 Chris Demetriou * mips.igen (X): Delete unused function. diff --git a/sim/mips/mips.igen b/sim/mips/mips.igen index 53f4218c452..e3a53ef7a3a 100644 --- a/sim/mips/mips.igen +++ b/sim/mips/mips.igen @@ -2282,7 +2282,10 @@ *vr5000: { if (GPR[RT] != 0) - GPR[RD] = GPR[RS]; + { + GPR[RD] = GPR[RS]; + TRACE_ALU_RESULT (GPR[RD]); + } } @@ -2296,7 +2299,10 @@ *vr5000: { if (GPR[RT] == 0) - GPR[RD] = GPR[RS]; + { + GPR[RD] = GPR[RS]; + TRACE_ALU_RESULT (GPR[RD]); + } } @@ -3438,7 +3444,7 @@ 000001,5.RS,01110,16.IMMEDIATE:REGIMM:32::TNEI -"tne r, " +"tnei r, " *mipsII: *mipsIII: *mipsIV: @@ -3787,6 +3793,7 @@ 010001,10,3.FMT,00000,5.FS,5.FD,001110:COP1:32,f::CEIL.W +"ceil.w.%s f, f" *mipsII: *mipsIII: *mipsIV: @@ -4515,10 +4522,10 @@ 010001,10,3.FMT,00000,5.FS,5.FD,010110:COP1:32,f::RSQRT.fmt +"rsqrt.%s f, f" *mipsIV: *mipsV: *mips64: -"rsqrt.%s f, f" *vr5000: { int fmt = FMT; -- 2.30.2