From patchwork Wed Oct 25 09:35:19 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Richard Henderson X-Patchwork-Id: 117084 Delivered-To: patch@linaro.org Received: by 10.140.22.164 with SMTP id 33csp658629qgn; Wed, 25 Oct 2017 03:06:36 -0700 (PDT) X-Google-Smtp-Source: ABhQp+Tklsly5EuDLUFTpygb97sahQlMhmo76aEw9d/KfDi82IK7qgJODxbIKAJe607QJ46/u9WH X-Received: by 10.129.109.196 with SMTP id i187mr12974805ywc.269.1508925996671; Wed, 25 Oct 2017 03:06:36 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1508925996; cv=none; d=google.com; s=arc-20160816; b=w3UtU470CuGpIYaZtb3lbcwr3AZTqkeC0aVstAwtdDGYUkKiLiA3nsYyCL1JuTxLnC cyzqE9zFPErZVy6rqXY1rVR4xV0kZDLyFAfAy8cgPS924DACDMjSRfsHF5JTDthIkbPe KcA+CkzSnjAnlcWzk/Ikyy7be+MWvXeaeTTKtmQn5woXjZ75+zE9J7X8aILvOBGUOQDx KFHuQDVt1Aa8CjxfHbAMcPsiGbcser2pEPmQUCldh9CIl97AXw9FeJv7hzdUcF0+d+3H /krxrBj/Ip9XQTzKsNNztU9XLKE1vJGnfW1IsSM5Imxipx3F1zhFlcqcai4ohVHjONHU wkTQ== 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=v+qlncXH1LfPC0T4sMPPjKi9uZWT8JQHyW+HjtLycFk=; b=XP19aojCZjml4iL5iNdtqlknOgLGI8c03GfMqMaOyN6wQfIaV+2yoDrhvGKQPtVjPI J9HktNr2wV7oX1xbDbdKjvlzSHeuYg6F11aoLaENPRvlQ2jRcgAx6320tbol+DkcGaV4 l/y1BqNW06c5+ueXRuz6nHgI3YvklR6bjHOZdJrUF7NlvsN1fOYov+dWpi+PJ7/A2AEL D4zBFMbUNcFFt/wwkrKUDPF39aXuewQHyN5vOMtL/ukM4kNnVXC5zzgogYzUzCL23UEJ j0pwrvCkNa8HIA81yE8iK6wcuPrDkBYBrFJCj22CH2cJqc5JYjduVXakRBwIilS5QYnr +zCA== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@linaro.org header.s=google header.b=KyUPxxzN; 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 e188si372878ybh.691.2017.10.25.03.06.36 for (version=TLS1 cipher=AES128-SHA bits=128/128); Wed, 25 Oct 2017 03:06:36 -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=KyUPxxzN; 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]:47441 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1e7Ia4-0000xX-7M for patch@linaro.org; Wed, 25 Oct 2017 06:06:36 -0400 Received: from eggs.gnu.org ([2001:4830:134:3::10]:45907) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1e7I6q-0000A3-6J for qemu-devel@nongnu.org; Wed, 25 Oct 2017 05:36:28 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1e7I6p-0008WQ-Cq for qemu-devel@nongnu.org; Wed, 25 Oct 2017 05:36:24 -0400 Received: from mail-wm0-x241.google.com ([2a00:1450:400c:c09::241]:50354) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1e7I6p-0008V9-6R for qemu-devel@nongnu.org; Wed, 25 Oct 2017 05:36:23 -0400 Received: by mail-wm0-x241.google.com with SMTP id u138so597007wmu.5 for ; Wed, 25 Oct 2017 02:36:23 -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=v+qlncXH1LfPC0T4sMPPjKi9uZWT8JQHyW+HjtLycFk=; b=KyUPxxzNPEeLxfvVx99oF/eRjH6JJhqCqPRaNP5j2R+8PRizGcxn8JB6UE97d9BxNq n1w37WSh6F8ylS8XYPeNW6+3NrUyCHUtmoBdFOePHFtiE9qui6x0+So/sVxmVjBU9aNK C+97UX5foYHg+YDd28eJAOyhv/qDiwPafPESs= 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=v+qlncXH1LfPC0T4sMPPjKi9uZWT8JQHyW+HjtLycFk=; b=Z4l42AJ3NVnMpOIR0N5Nk2PgFILlcrY/M/O0fpsxfvSAupshCfS1X9PGtDmVhF4wvj O5r3nedbZcKvWXfvIlchTa5ZIXh62DbqOgQZJsWbyZplDlIBTWLpjiiS7GEjnSppvY+z IzL0ZzU7YK1eGNPFTMaFR4wcPu/7B32OPmgSJJTabmYfGbmXIHxRupTmnLuLTGs1fkRs rN4MJQAlhw0mdlV+I1BdZoDSem/LkpctNCx+80Mdw2UhFqon3Dr/0JDPZXCoP22kkskW Bj8ok+ISYJGoWKgg19wJczasLBBfBW5k/zDT2mHwrw+Qu6OUBG4GStYmF4WtMwz7oypv M9PQ== X-Gm-Message-State: AMCzsaWj0dQMEq4NS9t1hIhlColfNZLkjWlrUsad6dH/yM65UqsqX7pw ZBQsfbZcBT8/Lca7Vbg7GHN5dsEhfPA= X-Received: by 10.28.68.135 with SMTP id r129mr1097154wma.28.1508924182073; Wed, 25 Oct 2017 02:36:22 -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.21 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Wed, 25 Oct 2017 02:36:21 -0700 (PDT) From: Richard Henderson To: qemu-devel@nongnu.org Date: Wed, 25 Oct 2017 11:35:19 +0200 Message-Id: <20171025093535.10175-36-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::241 Subject: [Qemu-devel] [PULL 35/51] tcg: Add CF_LAST_IO + CF_USE_ICOUNT to CF_HASH_MASK 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 Errors-To: qemu-devel-bounces+patch=linaro.org@nongnu.org Sender: "Qemu-devel" These flags are used by target/*/translate.c, and affect code generation. Reviewed-by: Emilio G. Cota Signed-off-by: Richard Henderson --- include/exec/exec-all.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) -- 2.13.6 diff --git a/include/exec/exec-all.h b/include/exec/exec-all.h index 0fdb72bb22..a3bd3e7abd 100644 --- a/include/exec/exec-all.h +++ b/include/exec/exec-all.h @@ -327,7 +327,8 @@ struct TranslationBlock { #define CF_INVALID 0x80000 /* TB is stale. Setters must acquire tb_lock */ #define CF_PARALLEL 0x100000 /* Generate code for a parallel context */ /* cflags' mask for hashing/comparison */ -#define CF_HASH_MASK (CF_COUNT_MASK | CF_PARALLEL) +#define CF_HASH_MASK \ + (CF_COUNT_MASK | CF_LAST_IO | CF_USE_ICOUNT | CF_PARALLEL) /* Per-vCPU dynamic tracing state used to generate this TB */ uint32_t trace_vcpu_dstate;