aboutsummaryrefslogtreecommitdiff
path: root/sim/mips
diff options
context:
space:
mode:
authorChris Demetriou <cgd@google.com>2002-06-12 23:20:56 +0000
committerChris Demetriou <cgd@google.com>2002-06-12 23:20:56 +0000
commit95fd5cee7d75ef350b51684e7977872a6bd6b58e (patch)
treef12217c0261fdbeab54ea27867cbb2b73329651c /sim/mips
parent4f0d55aeaa185efceb37c913ab85c7ae14b35f02 (diff)
downloadgdb-95fd5cee7d75ef350b51684e7977872a6bd6b58e.zip
gdb-95fd5cee7d75ef350b51684e7977872a6bd6b58e.tar.gz
gdb-95fd5cee7d75ef350b51684e7977872a6bd6b58e.tar.bz2
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/ChangeLog8
-rw-r--r--sim/mips/mips.igen15
2 files changed, 19 insertions, 4 deletions
diff --git a/sim/mips/ChangeLog b/sim/mips/ChangeLog
index 6c11e30..58f3fa7 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 53f4218..e3a53ef 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;