diff options
author | Michael Snyder <msnyder@vmware.com> | 2004-02-13 00:01:19 +0000 |
---|---|---|
committer | Michael Snyder <msnyder@vmware.com> | 2004-02-13 00:01:19 +0000 |
commit | 915213a4d58b9181d6dbdb21cb283e19ed8de096 (patch) | |
tree | 30fc837766c01980129f28bd3396d4621d53d92c /sim/sh/gencode.c | |
parent | fab9c64493abcb4a788c39770487f589cbf65b31 (diff) | |
download | gdb-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/sh/gencode.c')
-rw-r--r-- | sim/sh/gencode.c | 4 |
1 files changed, 2 insertions, 2 deletions
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]);", |