diff options
author | Chris Demetriou <cgd@google.com> | 2002-06-12 23:20:56 +0000 |
---|---|---|
committer | Chris Demetriou <cgd@google.com> | 2002-06-12 23:20:56 +0000 |
commit | a45ecbbf47587a8501ba68c4c6f77531428389cb (patch) | |
tree | e7f21c35162485739ce6de6211b8c342668c30fb /sim/mips | |
parent | 8b58328f051b7fd19730d5732bf12df800be5bd4 (diff) | |
download | gdb-a45ecbbf47587a8501ba68c4c6f77531428389cb.tar.gz |
2002-06-12 Chris Demetriou <cgd@broadcom.com>
* 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.
Diffstat (limited to 'sim/mips')
-rw-r--r-- | sim/mips/ChangeLog | 8 | ||||
-rw-r--r-- | 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,5 +1,13 @@ 2002-06-12 Chris Demetriou <cgd@broadcom.com> + * 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 <cgd@broadcom.com> + * mips.igen (X): Delete unused function. 2002-06-08 Andrew Cagney <cagney@redhat.com> 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<RS>, <IMMEDIATE>" +"tnei r<RS>, <IMMEDIATE>" *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<FMT> f<FD>, f<FS>" *mipsII: *mipsIII: *mipsIV: @@ -4515,10 +4522,10 @@ 010001,10,3.FMT,00000,5.FS,5.FD,010110:COP1:32,f::RSQRT.fmt +"rsqrt.%s<FMT> f<FD>, f<FS>" *mipsIV: *mipsV: *mips64: -"rsqrt.%s<FMT> f<FD>, f<FS>" *vr5000: { int fmt = FMT; |