From patchwork Tue Jul 12 19:02:10 2016 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Richard Henderson X-Patchwork-Id: 647583 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Received: from lists.gnu.org (lists.gnu.org [IPv6:2001:4830:134:3::11]) (using TLSv1 with cipher AES256-SHA (256/256 bits)) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPS id 3rpsD93Qnfz9sds for ; Wed, 13 Jul 2016 05:17:29 +1000 (AEST) Authentication-Results: ozlabs.org; dkim=fail reason="signature verification failed" (2048-bit key; unprotected) header.d=gmail.com header.i=@gmail.com header.b=UgHjh+ss; dkim-atps=neutral Received: from localhost ([::1]:42850 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bN3BP-0004fC-3G for incoming@patchwork.ozlabs.org; Tue, 12 Jul 2016 15:17:27 -0400 Received: from eggs.gnu.org ([2001:4830:134:3::10]:56461) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bN2xa-0005Fm-6D for qemu-devel@nongnu.org; Tue, 12 Jul 2016 15:03:12 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1bN2xY-0002gT-CN for qemu-devel@nongnu.org; Tue, 12 Jul 2016 15:03:09 -0400 Received: from mail-qt0-x242.google.com ([2607:f8b0:400d:c0d::242]:33539) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bN2xY-0002gN-8G for qemu-devel@nongnu.org; Tue, 12 Jul 2016 15:03:08 -0400 Received: by mail-qt0-x242.google.com with SMTP id j37so892550qta.0 for ; Tue, 12 Jul 2016 12:03:08 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=sender:from:to:cc:subject:date:message-id:in-reply-to:references; bh=goqwiC27+uQ2dcrUYq2nFsiQ+JB8R6fzZgxMocz0SUw=; b=UgHjh+ss/64JdRL5roUrYsDka7NYDK2e+tpQyim8RpNxUsxcZHLiZAf3Ot9hoLJKIK 8lm03HKMS1Ko68VqTgr8A6zTuFczahC6uAdveVaTSVBOdi/zbwUh01O2OmG6V4bcC3FJ Smae/sLSFOt8PVmk8dcaOivImnz3fHjcT6oXAhm3WuHpO8Nn1fTBisH7PVIgntu8L+eI +aQtw3C3c44sChWBPH0E03KZeKUNlV+ygKoWIhWurfB+yO6P6RMrttUEvN9X0FtJKIex NQcRup7ENRh7FuzceZy3JkSwWHIV6odhzseLEi0jYiuQxt7jgTU2ZT1vJc88v8ggaW7i /m4A== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:sender:from:to:cc:subject:date:message-id :in-reply-to:references; bh=goqwiC27+uQ2dcrUYq2nFsiQ+JB8R6fzZgxMocz0SUw=; b=IEqsQ8zd2PHcT6+tjrcI6ZVufIZ3/+sYGaRymy7m4ijlYunEU44Pm4EohO9Hlww4IQ IY6xY3tv37rAYxRTZXdRFqsb3V3Uugy59xAVoF3kNgzfZgwWzdePCEUXiFZs/t0PDWqo 09FBFbkUqIEt9gBd7DxUAALY/Y1omkOJBI60G/nLMuZvSFCbQXs8XMoqfjs3tQl/hWed ba+OjAxxt9m4LSSErgWYtYnsJrSviLiz2xikrFqhKrxekpGX7OZgA6s0hW0wLvCeGdWS 1PFLDlhK510P3JXXhhfMBFi1D5Kw7xzt8oIy5YJ3ANMllWvwR8sU8aGPAEsZ+Vq5kCEY K39g== X-Gm-Message-State: ALyK8tKK5k/JulOiRKbZp3PcqvaeMh0AUjuILG82oDMeeeSkKTmkc5AsjrMgLu4uMb+1+A== X-Received: by 10.200.45.108 with SMTP id o41mr5848409qta.100.1468350187932; Tue, 12 Jul 2016 12:03:07 -0700 (PDT) Received: from bigtime.com (71-37-54-227.tukw.qwest.net. [71.37.54.227]) by smtp.gmail.com with ESMTPSA id u87sm1209716qkl.30.2016.07.12.12.03.07 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Tue, 12 Jul 2016 12:03:07 -0700 (PDT) From: Richard Henderson To: qemu-devel@nongnu.org Date: Tue, 12 Jul 2016 12:02:10 -0700 Message-Id: <1468350138-9736-17-git-send-email-rth@twiddle.net> X-Mailer: git-send-email 2.7.4 In-Reply-To: <1468350138-9736-1-git-send-email-rth@twiddle.net> References: <1468350138-9736-1-git-send-email-rth@twiddle.net> X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 2607:f8b0:400d:c0d::242 Subject: [Qemu-devel] [PULL 16/24] target-sparc: Fix obvious error in ASI_M_BFILL X-BeenThere: qemu-devel@nongnu.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: peter.maydell@linaro.org, mark.cave-ayland@ilande.co.uk Errors-To: qemu-devel-bounces+incoming=patchwork.ozlabs.org@nongnu.org Sender: "Qemu-devel" Tested-by: Mark Cave-Ayland 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 ba48687..49082c5 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);