From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:49149) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1a9fbt-000538-6O for qemu-devel@nongnu.org; Thu, 17 Dec 2015 15:57:13 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1a9fbr-00058B-RB for qemu-devel@nongnu.org; Thu, 17 Dec 2015 15:57:13 -0500 Received: from mail-ob0-x22f.google.com ([2607:f8b0:4003:c01::22f]:33851) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1a9fbr-000585-M0 for qemu-devel@nongnu.org; Thu, 17 Dec 2015 15:57:11 -0500 Received: by mail-ob0-x22f.google.com with SMTP id iw8so65837702obc.1 for ; Thu, 17 Dec 2015 12:57:11 -0800 (PST) Sender: Richard Henderson From: Richard Henderson Date: Thu, 17 Dec 2015 12:57:09 -0800 Message-Id: <1450385829-2594-1-git-send-email-rth@twiddle.net> In-Reply-To: <1450385695-1940-1-git-send-email-rth@twiddle.net> References: <1450385695-1940-1-git-send-email-rth@twiddle.net> Subject: [Qemu-devel] [PATCH 17/25] target-sparc: Fix obvious error in ASI_M_BFILL List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-devel@nongnu.org Cc: mark.cave-ayland@ilande.co.uk, aurelien@aurel32.net Signed-off-by: Richard Henderson --- target-sparc/ldst_helper.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/target-sparc/ldst_helper.c b/target-sparc/ldst_helper.c index 9179eaa..efb0b75 100644 --- a/target-sparc/ldst_helper.c +++ b/target-sparc/ldst_helper.c @@ -987,7 +987,7 @@ void helper_st_asi(CPUSPARCState *env, target_ulong addr, uint64_t val, int asi, /* addr = dst fill 32 bytes with val */ unsigned int i; - uint32_t dst = addr & 7; + uint32_t dst = addr & ~7; for (i = 0; i < 32; i += 8, dst += 8) { cpu_stq_kernel(env, dst, val); -- 2.5.0