aboutsummaryrefslogtreecommitdiff
path: root/sim
diff options
context:
space:
mode:
authorMichael Snyder <msnyder@vmware.com>2004-02-13 00:01:19 +0000
committerMichael Snyder <msnyder@vmware.com>2004-02-13 00:01:19 +0000
commit915213a4d58b9181d6dbdb21cb283e19ed8de096 (patch)
tree30fc837766c01980129f28bd3396d4621d53d92c /sim
parentfab9c64493abcb4a788c39770487f589cbf65b31 (diff)
downloadgdb-915213a4d58b9181d6dbdb21cb283e19ed8de096.zip
gdb-915213a4d58b9181d6dbdb21cb283e19ed8de096.tar.gz
gdb-915213a4d58b9181d6dbdb21cb283e19ed8de096.tar.bz2
2004-02-02 Michael Snyder <msnyder@redhat.com>
* gencode.c (movua.l): Set thislock to 0, not n.
Diffstat (limited to 'sim')
-rw-r--r--sim/sh/ChangeLog4
-rw-r--r--sim/sh/gencode.c4
2 files changed, 6 insertions, 2 deletions
diff --git a/sim/sh/ChangeLog b/sim/sh/ChangeLog
index 9fbefe3..549e499 100644
--- a/sim/sh/ChangeLog
+++ b/sim/sh/ChangeLog
@@ -1,3 +1,7 @@
+2004-02-02 Michael Snyder <msnyder@redhat.com>
+
+ * gencode.c (movua.l): Set thislock to 0, not n.
+
2004-02-12 Michael Snyder <msnyder@redhat.com>
* gencode.c (table): Change from char to short.
diff --git a/sim/sh/gencode.c b/sim/sh/gencode.c
index 3d998f0..3347591 100644
--- a/sim/sh/gencode.c
+++ b/sim/sh/gencode.c
@@ -869,7 +869,7 @@ op tab[] =
"MA (1);",
"R[0] = (RBAT (regn) << 24) + (RBAT (regn + 1) << 16) + ",
" (RBAT (regn + 2) << 8) + RBAT (regn + 3);",
- "L (n);",
+ "L (0);",
},
{ "0n", "n", "movua.l @<REG_N>+,R0", "0100nnnn11101001",
"int regn = R[n];",
@@ -877,7 +877,7 @@ op tab[] =
"R[0] = (RBAT (regn) << 24) + (RBAT (regn + 1) << 16) + ",
" (RBAT (regn + 2) << 8) + RBAT (regn + 3);",
"R[n] += 4;",
- "L (n);",
+ "L (0);",
},
{ "", "mn", "mul.l <REG_M>,<REG_N>", "0000nnnnmmmm0111",
"MACL = ((int) R[n]) * ((int) R[m]);",