From 915213a4d58b9181d6dbdb21cb283e19ed8de096 Mon Sep 17 00:00:00 2001 From: Michael Snyder Date: Fri, 13 Feb 2004 00:01:19 +0000 Subject: [PATCH] 2004-02-02 Michael Snyder * gencode.c (movua.l): Set thislock to 0, not n. --- sim/sh/ChangeLog | 4 ++++ sim/sh/gencode.c | 4 ++-- 2 files changed, 6 insertions(+), 2 deletions(-) diff --git a/sim/sh/ChangeLog b/sim/sh/ChangeLog index 9fbefe3cd4..549e49976b 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 3d998f010f..3347591870 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]);",