Received: from eggs.gnu.org ([2001:4830:134:3::10]:38626) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1b8Le2-0004Wt-KL for qemu-devel@nongnu.org; Thu, 02 Jun 2016 01:58:20 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1b8Ldv-0003An-MV for qemu-devel@nongnu.org; Thu, 02 Jun 2016 01:58:13 -0400 Received: from mail-qt0-x242.google.com ([2607:f8b0:400d:c0d::242]:36060) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1b8Ldv-0003Aj-IF for qemu-devel@nongnu.org; Thu, 02 Jun 2016 01:58:07 -0400 Received: by mail-qt0-x242.google.com with SMTP id i58so820270qta.3 for ; Wed, 01 Jun 2016 22:58:07 -0700 (PDT) Sender: Richard Henderson From: Richard Henderson Date: Wed, 1 Jun 2016 22:57:12 -0700 Message-Id: <1464847040-22536-17-git-send-email-rth@twiddle.net> In-Reply-To: <1464847040-22536-1-git-send-email-rth@twiddle.net> References: <1464847040-22536-1-git-send-email-rth@twiddle.net> Subject: [Qemu-devel] [PATCH v3 16/24] 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, atar4qemu@gmail.com 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 23840db..3700ca1 100644 --- a/target-sparc/ldst_helper.c +++ b/target-sparc/ldst_helper.c @@ -989,7 +989,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.5