From patchwork Fri Oct 20 23:20:04 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Richard Henderson X-Patchwork-Id: 116570 Delivered-To: patch@linaro.org Received: by 10.140.22.164 with SMTP id 33csp2235273qgn; Fri, 20 Oct 2017 16:44:35 -0700 (PDT) X-Received: by 10.200.39.140 with SMTP id w12mr3230551qtw.230.1508543075415; Fri, 20 Oct 2017 16:44:35 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1508543075; cv=none; d=google.com; s=arc-20160816; b=L1NjnrvO0qc2HFu3e1j5heIeiyL5vZhj5dWF4mbJf/4ZTYRw8gVbecMVKRYs4y+o2a 936i5KiLQvclRVZ7zcBJo8+5f4xyG1zKdmNfZRWDfF22kqx/mvZn9of/LYbw4qhha10J FIyQe1Ix/soKTKyS84xdIbwE3hvw/OrlWkZm2GTYBaZwEG4b7kWRZhY16oNhkBfTM7cR GiqdP29KipP9r49Y9hcGFfG6B3C68n/e59VM8Dv2B6JS15gfs7otE7uvsHq3Vv8rFBXn FjZIRLO9+7e4K+kY+37J8wkLCozodGHKG4HdpgpQrIntvlE4otz4xPr8nQaeoutEDlnu XzHA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=sender:errors-to:cc:list-subscribe:list-help:list-post:list-archive :list-unsubscribe:list-id:precedence:subject:references:in-reply-to :message-id:date:to:from:dkim-signature:arc-authentication-results; bh=XSVmUL7wnov8gj/K1YIAEJkzDh5eX57gmSWuDBUj4D0=; b=s/cOR8BcBebFae7T1oUPWEWJ8fC6h22yBcT75IQMbAKk/Je9WendrvW8RmBwfj0zN4 oazh5fDrUgSKll5bWPQ3p+Byz0uDgRRxdGf+ukkcfC6PeepnjwZsqNTO/hPp65X/QE66 Lq759J+175FaZ2xprUWp/dO9XwdJniV9AwCF0a2AjJq2Jyph8t9EM390hACGKBDRj3Xn WVJq/I9ELPPjRrcozWhpaeTZUzDNKJCNvxqEhnGs8nEApIxj7BqY0HajJVqygN1T4bAO xd8GSNtK+nZgj7VjhNqoXBtY9JVg5cT/+QYp+TvWMBDcCZVLJnyW7xGLzkGYXd0CfVyB slzQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@linaro.org header.s=google header.b=bc3tLJfl; spf=pass (google.com: domain of qemu-devel-bounces+patch=linaro.org@nongnu.org designates 2001:4830:134:3::11 as permitted sender) smtp.mailfrom=qemu-devel-bounces+patch=linaro.org@nongnu.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from lists.gnu.org (lists.gnu.org. [2001:4830:134:3::11]) by mx.google.com with ESMTPS id n33si1766360qtn.47.2017.10.20.16.44.35 for (version=TLS1 cipher=AES128-SHA bits=128/128); Fri, 20 Oct 2017 16:44:35 -0700 (PDT) Received-SPF: pass (google.com: domain of qemu-devel-bounces+patch=linaro.org@nongnu.org designates 2001:4830:134:3::11 as permitted sender) client-ip=2001:4830:134:3::11; Authentication-Results: mx.google.com; dkim=fail header.i=@linaro.org header.s=google header.b=bc3tLJfl; spf=pass (google.com: domain of qemu-devel-bounces+patch=linaro.org@nongnu.org designates 2001:4830:134:3::11 as permitted sender) smtp.mailfrom=qemu-devel-bounces+patch=linaro.org@nongnu.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: from localhost ([::1]:56074 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1e5gxt-0001wt-AU for patch@linaro.org; Fri, 20 Oct 2017 19:44:33 -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) 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) 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) 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+patch=linaro.org@nongnu.org Sender: "Qemu-devel" 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(-) -- 2.13.6 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 = tcg_const_i32(da.asi);