Message ID | 20171025093535.10175-29-richard.henderson@linaro.org |
---|---|
State | Accepted |
Commit | b5e3b4c2aca8eb5a9cfeedfb273af623f17c3731 |
Headers | show
Delivered-To: patch@linaro.org Received: by 10.140.22.164 with SMTP id 33csp651839qgn; Wed, 25 Oct 2017 03:00:17 -0700 (PDT) X-Google-Smtp-Source: ABhQp+RjvQ+eZWkg7aVNPouzHuGLjh9y4kJ0Zh2fD0f/VVwCXlqJERer1vXf4gEO3AHarfvTim9j X-Received: by 10.129.118.17 with SMTP id r17mr13265782ywc.497.1508925617206; Wed, 25 Oct 2017 03:00:17 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1508925617; cv=none; d=google.com; s=arc-20160816; b=AJUVOaG2ZwGMuKGbQqp4nVWSXJSl7bd0ZrYX38kEM5Ghrh/qOCwnYarZLYAJ3kbMhn 3jBsdgmJFdkTcsy2rK0tku3Ydxvgfap1W9KP9TjAkbN3BNX76MINxUGI3eC+t+4O5KpH xd9iCYWuQW5C4kawLWmk2m3x9d9XQA8UZ5I+tJjTJqK2P2Fbs4qJiSpOcIFoAHCR3rQP /EmxNtDupamWyb+vmOUlkE9Npg/7tmQqnNYL3K5T9gVaIIOdg5jwkZSrZp6ZRf2qb/wc 3JdUgSjspfNtZfQEqXKw1C0ftRTYDcgKzGl5jxt5076qmuF+LqgawyC4S0mW2fqAucce oWZQ== 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=1YzcUFrzwyWqPKjOQq7fU9rA3n3e77TXXkeaB5EeAco=; b=FXT+PRg69RtBwqQLoUmC9CYFDiIT7dRTN0CuxH7kqfIkxg1Jo5+lB1Nx1ggDGFlIuI /UXo9bVwY4tF4+5PjgIG/IJpNYeyHxxwzUsGSnk8xWZXLea+dEv+83QcMjX7/HnyYFMo bvbielXAJPQm1tbpyI78cJGRZgY1ZLdH21WMTRVFpItTvx9S1ug9ozd4sx5D5eKkSe0C yZwt7fAj5p79KU5zl+LGariIK55pz4k/lQB7PcwDIlLRTpJZAYcac+veiGdKeelqQg/O kzdaGNW8LnjpgsnPyfpgToIcGUQRusq3wP6324ZbC23JDZTAXh/IUcQGiE/uMGHP5+sj 1IOw== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@linaro.org header.s=google header.b=VPzNsU/w; 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: <qemu-devel-bounces+patch=linaro.org@nongnu.org> Received: from lists.gnu.org (lists.gnu.org. [2001:4830:134:3::11]) by mx.google.com with ESMTPS id y1si390201ywi.344.2017.10.25.03.00.17 for <patch@linaro.org> (version=TLS1 cipher=AES128-SHA bits=128/128); Wed, 25 Oct 2017 03:00:17 -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=VPzNsU/w; 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]:47406 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from <qemu-devel-bounces+patch=linaro.org@nongnu.org>) id 1e7ITw-0003uf-NV for patch@linaro.org; Wed, 25 Oct 2017 06:00:16 -0400 Received: from eggs.gnu.org ([2001:4830:134:3::10]:45794) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from <richard.henderson@linaro.org>) id 1e7I6k-0008VC-Q7 for qemu-devel@nongnu.org; Wed, 25 Oct 2017 05:36:19 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from <richard.henderson@linaro.org>) id 1e7I6g-0008OF-Uw for qemu-devel@nongnu.org; Wed, 25 Oct 2017 05:36:18 -0400 Received: from mail-wm0-x244.google.com ([2a00:1450:400c:c09::244]:55144) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from <richard.henderson@linaro.org>) id 1e7I6g-0008Nc-P1 for qemu-devel@nongnu.org; Wed, 25 Oct 2017 05:36:14 -0400 Received: by mail-wm0-x244.google.com with SMTP id r68so636357wmr.3 for <qemu-devel@nongnu.org>; Wed, 25 Oct 2017 02:36: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=1YzcUFrzwyWqPKjOQq7fU9rA3n3e77TXXkeaB5EeAco=; b=VPzNsU/wr9k195SwA3qlhXc+G+zKvDtGxUizooPUuxTzi8etQ/zAL2KvTOjNAlDnjl 0Ez8G2Qs4iENbc5/KlxtHCKF0ZUfY1pHSoLXOwpCjO4Mm5zMIEenD/DBEp5gPFDpCI5g H/vQ7c6gqmBQmVJ1De12t1xeqBhwQdIV6i8ag= 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=1YzcUFrzwyWqPKjOQq7fU9rA3n3e77TXXkeaB5EeAco=; b=O5URZEmS1SiCqD4WoD+0Gfv8EViSzwcUtnfgnRohE7RoUTWvHT0gTTLVOm2jlgdCI6 5ipG/pukZY+WGRvxMCldHYFiyxwyDnEeaga0jOGHGB9CIqAZfX17l/kdE/Nqn/H0I3KR Q08E0l1q1APIKhj5iBDvw7VC7Qzxyxp2iO8Jdf/S1aldZwig9VK5HQWDx9xUw3mRG6s/ 5OHGB6YZGzUrCEnveMfn9OEDHQ9+T5v67U9X/OnUAh72r8HLFoHa8+HBcfkhmJyGQfYh k7+fjYjRO3VMiuirhKhWkcIkB+vcyPCyXT3wkR1C8sKiVDdBdan2sV0Js0f8HizEH2a/ Ts2A== X-Gm-Message-State: AMCzsaX0MQFaKwR+nHGUoJDlAFMh4IQavMcKZhu9/afHFY3CWVhcRwa4 IsZ1xkH0tcRfeaDVNv6gfsAW0FTJWLI= X-Received: by 10.28.58.145 with SMTP id h139mr1098976wma.56.1508924173631; Wed, 25 Oct 2017 02:36:13 -0700 (PDT) Received: from cloudburst.twiddle.net ([62.168.35.107]) by smtp.gmail.com with ESMTPSA id v23sm2751025wmh.8.2017.10.25.02.36.12 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Wed, 25 Oct 2017 02:36:12 -0700 (PDT) From: Richard Henderson <richard.henderson@linaro.org> To: qemu-devel@nongnu.org Date: Wed, 25 Oct 2017 11:35:12 +0200 Message-Id: <20171025093535.10175-29-richard.henderson@linaro.org> X-Mailer: git-send-email 2.13.6 In-Reply-To: <20171025093535.10175-1-richard.henderson@linaro.org> References: <20171025093535.10175-1-richard.henderson@linaro.org> X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 2a00:1450:400c:c09::244 Subject: [Qemu-devel] [PULL 28/51] target/i386: check CF_PARALLEL instead of parallel_cpus X-BeenThere: qemu-devel@nongnu.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: <qemu-devel.nongnu.org> List-Unsubscribe: <https://lists.nongnu.org/mailman/options/qemu-devel>, <mailto:qemu-devel-request@nongnu.org?subject=unsubscribe> List-Archive: <http://lists.nongnu.org/archive/html/qemu-devel/> List-Post: <mailto:qemu-devel@nongnu.org> List-Help: <mailto:qemu-devel-request@nongnu.org?subject=help> List-Subscribe: <https://lists.nongnu.org/mailman/listinfo/qemu-devel>, <mailto:qemu-devel-request@nongnu.org?subject=subscribe> Cc: peter.maydell@linaro.org, "Emilio G. Cota" <cota@braap.org> Errors-To: qemu-devel-bounces+patch=linaro.org@nongnu.org Sender: "Qemu-devel" <qemu-devel-bounces+patch=linaro.org@nongnu.org> |
Series |
tcg queued patches
|
expand
|
diff --git a/target/i386/translate.c b/target/i386/translate.c index 2e2e0dbddc..70ba0b2d5a 100644 --- a/target/i386/translate.c +++ b/target/i386/translate.c @@ -5307,7 +5307,7 @@ static target_ulong disas_insn(DisasContext *s, CPUState *cpu) if (!(s->cpuid_ext_features & CPUID_EXT_CX16)) goto illegal_op; gen_lea_modrm(env, s, modrm); - if ((s->prefix & PREFIX_LOCK) && parallel_cpus) { + if ((s->prefix & PREFIX_LOCK) && (tb_cflags(s->base.tb) & CF_PARALLEL)) { gen_helper_cmpxchg16b(cpu_env, cpu_A0); } else { gen_helper_cmpxchg16b_unlocked(cpu_env, cpu_A0); @@ -5318,7 +5318,7 @@ static target_ulong disas_insn(DisasContext *s, CPUState *cpu) if (!(s->cpuid_features & CPUID_CX8)) goto illegal_op; gen_lea_modrm(env, s, modrm); - if ((s->prefix & PREFIX_LOCK) && parallel_cpus) { + if ((s->prefix & PREFIX_LOCK) && (tb_cflags(s->base.tb) & CF_PARALLEL)) { gen_helper_cmpxchg8b(cpu_env, cpu_A0); } else { gen_helper_cmpxchg8b_unlocked(cpu_env, cpu_A0);