From nobody Wed Feb 11 00:59:53 2026 Delivered-To: importer@patchew.org Received-SPF: pass (zoho.com: domain of gnu.org designates 208.118.235.17 as permitted sender) client-ip=208.118.235.17; envelope-from=qemu-devel-bounces+importer=patchew.org@nongnu.org; helo=lists.gnu.org; Authentication-Results: mx.zohomail.com; dkim=fail; spf=pass (zoho.com: domain of gnu.org designates 208.118.235.17 as permitted sender) smtp.mailfrom=qemu-devel-bounces+importer=patchew.org@nongnu.org Return-Path: Received: from lists.gnu.org (208.118.235.17 [208.118.235.17]) by mx.zohomail.com with SMTPS id 15085430693430.053836581552673124; Fri, 20 Oct 2017 16:44:29 -0700 (PDT) Received: from localhost ([::1]:56074 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1e5gxi-0001wt-Un for importer@patchew.org; Fri, 20 Oct 2017 19:44:22 -0400 Received: from eggs.gnu.org ([2001:4830:134:3::10]:44607) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1e5gbL-0006Kl-Ma for qemu-devel@nongnu.org; Fri, 20 Oct 2017 19:21:16 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1e5gbK-0007py-Td for qemu-devel@nongnu.org; Fri, 20 Oct 2017 19:21:15 -0400 Received: from mail-pf0-x241.google.com ([2607:f8b0:400e:c00::241]:51598) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1e5gbK-0007pi-Nc for qemu-devel@nongnu.org; Fri, 20 Oct 2017 19:21:14 -0400 Received: by mail-pf0-x241.google.com with SMTP id n14so13059363pfh.8 for ; Fri, 20 Oct 2017 16:21:14 -0700 (PDT) Received: from cloudburst.twiddle.net (97-113-165-104.tukw.qwest.net. [97.113.165.104]) by smtp.gmail.com with ESMTPSA id a17sm3532594pfk.173.2017.10.20.16.21.12 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Fri, 20 Oct 2017 16:21:12 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=from:to:cc:subject:date:message-id:in-reply-to:references; bh=XSVmUL7wnov8gj/K1YIAEJkzDh5eX57gmSWuDBUj4D0=; b=bc3tLJflB0Y+m34zlWb8+AWW6WYxr5d7pH3pQ1+4/AmsRi1Cpo+vaxYKE9ZnFfaqC/ MT2i+kBqRTzzO8tsOJNOC3KzY5XMuIPlAFYaXcY7Az1jmSX+zhAXsfbXTHtBSbnDjlGt Y7x+l016pwlBr2zM5AX22g2d67C9YgAeUOt88= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references; bh=XSVmUL7wnov8gj/K1YIAEJkzDh5eX57gmSWuDBUj4D0=; b=YC+WT+ntJxxbJZEbR9QWimp9D+AjycF9xRSfEL+q6Pn8y77bBOEJuBVOwlAzsecqTX dNsLvsN3X3VvZULApTq6fs9pgDvzVMbU6mTEN2EQZhxM/yI14fqogmnHMcfqf91kNcC1 eh27szeThypYha0+10wtvy/sebBZMYVNfELDHuUZqEQ1A+/Ef7v5XzOjL1lYcwiOpDiD bxyQXmMo0DPOxKdpRCMBUzZb4SVME4hY2rxtPVdOU6jg8ZTnnhoEQyNT5Inc4n/Q3JVM QiZNmODmFIqK+C2hujy+/k+HcIFXnyjkHL3vAL32mEL5IGZMJzgQcHyO55E7xMUBJCFg YeJA== X-Gm-Message-State: AMCzsaWQa+MWCVjlb+8duLK773Pv1PavbU8/dZivOB858wTUzndPHDMI b+1bUfgFSMRPUEvgSgwQzUcBt5ocOHA= X-Google-Smtp-Source: ABhQp+SIK3rI/nCZ8yz1P8TfHaircgi8pQDIRmJFoiVNfemmeHVEkZtAqbdT6DyOMocS/2he3DO+nA== X-Received: by 10.99.116.18 with SMTP id p18mr5815972pgc.269.1508541673585; Fri, 20 Oct 2017 16:21:13 -0700 (PDT) From: Richard Henderson To: qemu-devel@nongnu.org Date: Fri, 20 Oct 2017 16:20:04 -0700 Message-Id: <20171020232023.15010-34-richard.henderson@linaro.org> X-Mailer: git-send-email 2.13.6 In-Reply-To: <20171020232023.15010-1-richard.henderson@linaro.org> References: <20171020232023.15010-1-richard.henderson@linaro.org> X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 2607:f8b0:400e:c00::241 Subject: [Qemu-devel] [PATCH v7 33/52] target/sparc: check CF_PARALLEL instead of parallel_cpus 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: pbonzini@redhat.com, cota@braap.org, f4bug@amsat.org Errors-To: qemu-devel-bounces+importer=patchew.org@nongnu.org Sender: "Qemu-devel" X-ZohoMail-DKIM: fail (Header signature does not verify) X-ZohoMail: RDKM_2 RSF_0 Z_629925259 SPT_0 Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" From: "Emilio G. Cota" Thereby decoupling the resulting translated code from the current state of the system. Reviewed-by: Richard Henderson Signed-off-by: Emilio G. Cota Signed-off-by: Richard Henderson --- target/sparc/translate.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/target/sparc/translate.c b/target/sparc/translate.c index f2b5cdbf34..9dc41869a4 100644 --- a/target/sparc/translate.c +++ b/target/sparc/translate.c @@ -2437,7 +2437,7 @@ static void gen_ldstub_asi(DisasContext *dc, TCGv dst= , TCGv addr, int insn) default: /* ??? In theory, this should be raise DAE_invalid_asi. But the SS-20 roms do ldstuba [%l0] #ASI_M_CTL, %o1. */ - if (parallel_cpus) { + if (tb_cflags(dc->tb) & CF_PARALLEL) { gen_helper_exit_atomic(cpu_env); } else { TCGv_i32 r_asi =3D tcg_const_i32(da.asi); --=20 2.13.6