diff options
author | Michael Snyder <msnyder@specifix.com> | 2004-02-13 00:01:19 +0000 |
---|---|---|
committer | Michael Snyder <msnyder@specifix.com> | 2004-02-13 00:01:19 +0000 |
commit | 6cf172eb92455db7fadfd25bb291e8ba7922b662 (patch) | |
tree | 8212bc9aabf39e125957ed0c0e4cd0fc5d522f41 /sim/sh | |
parent | 2a13163b8842a2a203da052d3e29c3f330b37336 (diff) | |
download | gdb-6cf172eb92455db7fadfd25bb291e8ba7922b662.tar.gz |
2004-02-02 Michael Snyder <msnyder@redhat.com>
* gencode.c (movua.l): Set thislock to 0, not n.
Diffstat (limited to 'sim/sh')
-rw-r--r-- | sim/sh/ChangeLog | 4 | ||||
-rw-r--r-- | sim/sh/gencode.c | 4 |
2 files changed, 6 insertions, 2 deletions
diff --git a/sim/sh/ChangeLog b/sim/sh/ChangeLog index 9fbefe3cd45..549e49976ba 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 3d998f010f5..33475918704 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]);", |