From: Michael Snyder Date: Fri, 13 Feb 2004 00:01:19 +0000 (+0000) Subject: 2004-02-02 Michael Snyder X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=915213a4d58b9181d6dbdb21cb283e19ed8de096;p=binutils-gdb.git 2004-02-02 Michael Snyder * gencode.c (movua.l): Set thislock to 0, not n. --- 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 + + * gencode.c (movua.l): Set thislock to 0, not n. + 2004-02-12 Michael Snyder * 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 @+,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 ,", "0000nnnnmmmm0111", "MACL = ((int) R[n]) * ((int) R[m]);",