From patchwork Mon Oct 16 17:25:55 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Richard Henderson X-Patchwork-Id: 115951 Delivered-To: patch@linaro.org Received: by 10.140.22.163 with SMTP id 32csp3949681qgn; Mon, 16 Oct 2017 10:44:47 -0700 (PDT) X-Received: by 10.55.176.68 with SMTP id z65mr10852254qke.75.1508175887870; Mon, 16 Oct 2017 10:44:47 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1508175887; cv=none; d=google.com; s=arc-20160816; b=k90ZBPu83TWqEQGUrWh5A6ZJb58vBvhuyBAC/xGa4qbGJngTu0hiEnzDsGzbptRv4+ 6a/Uk4We+txfBaaLTZpjshwTZyWPo8/E6amUAQLrUP8zG5OggkXu8qPC5hHWj1ydRxiT Aem47Fgwb6D036oc0ZJimIxzJkDJcp5ys+3ajXDNHC7MBIwVKZvrTjok9Y26ggzA2NyO PkG20FhjA/+d/Fb6UxaoWUOy6xyAnOyWNOOctNSkF811CYnUeN7A+UG6ihjK5zqjwVpF 7ruDILc/xLs18K5eeOiNtZaf7lBQS+XbpyIok422v/rL/LyV0HmBaQRES7T/i65jhtaq LBQw== 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=fTnG+pYtyBDmdpZrb4pJY39N9JOIdfqX72NWpGL3Keo=; b=lzJ6wn6ALE9bNK8xelKpKzRrXhHQs1F1v1WhsSwauAIsBZvPd6BMQpOT2zwq3jNIYw 2UTi7/HiH5a1HYWFFMDl8APdti4t0/WpkUYopRBHuSpBq+kwVNFUQyR0NJNB7G0iWKMr 7hm8yi+fPdmlNMtZi4BvKYYUibClr8SV4GuVSNShPZmrECli77OxwFsA3EfkkLbOxrj0 SGMFzrFVL2I04SC6DX+EV8eTqmJP3SEk/efKLt9+iRAL6CmO0SvjoA/emW4dGfCJU9oN kouVWS78mIf0eibQzKy4T5Xekqm+VLFWxLEkOHB0xi99tR2QRGMlcm5dTb9x+KQF8JMz 8ghA== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@linaro.org header.s=google header.b=cKEfGkon; 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 i1si4677870qkc.127.2017.10.16.10.44.47 for (version=TLS1 cipher=AES128-SHA bits=128/128); Mon, 16 Oct 2017 10:44:47 -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=cKEfGkon; 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]:34367 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1e49RV-0000QL-Q3 for patch@linaro.org; Mon, 16 Oct 2017 13:44:45 -0400 Received: from eggs.gnu.org ([2001:4830:134:3::10]:52637) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1e49AQ-0002fy-2o for qemu-devel@nongnu.org; Mon, 16 Oct 2017 13:27:07 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1e49AP-0003qj-B3 for qemu-devel@nongnu.org; Mon, 16 Oct 2017 13:27:06 -0400 Received: from mail-pf0-x22d.google.com ([2607:f8b0:400e:c00::22d]:54602) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1e49AP-0003qE-4t for qemu-devel@nongnu.org; Mon, 16 Oct 2017 13:27:05 -0400 Received: by mail-pf0-x22d.google.com with SMTP id n89so8659477pfk.11 for ; Mon, 16 Oct 2017 10:27:05 -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=fTnG+pYtyBDmdpZrb4pJY39N9JOIdfqX72NWpGL3Keo=; b=cKEfGkonb1Rlufh36vyzisx2hvd+oC/MIa1t8pKqBb5CJZLqqflrmjEqrs9lR4HNb0 Hw4HplGybjUNAnkaej/b/a9EGzDLgNzi+fPWfCukPJ9+4781+rFPvNSoOiEUkU02B7iS GbsftVIh29keoMvgMDgpzColaP1poZBOyq9ls= 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=fTnG+pYtyBDmdpZrb4pJY39N9JOIdfqX72NWpGL3Keo=; b=GQNcyB5PkQI7mMR/xOEnKKMLlffmiQm7x7504oMKzDOdgOuSW2ARk4qE/XKkU9ja0n WYoQMgKb3WrZ3iPTHAiLvd5jSwkmLYjZIrWwZ2hOTlvuFw6AuN/u6oeHOe4SkIDn7Kvm Fsipmqjh1YpMgMv2dY4OjaEXwR9CYTjlC5/RbWAJ3cwoQ3QOpOyxzhhw1vGRCTFUpwH2 MGZWo/14luFo55bxlS3Mg3Ov1YE82sDDAT+xr2bmfIm1ZtKAmr06F2fnkmJimnZXVPFU FAeLzzGdHVN/4AMxJ342JBbx4bk6MUH1uF9dB9Spb/GYo5NYm3Oz94/NBnACjqZ+RGAo pMIQ== X-Gm-Message-State: AMCzsaVyKb3Fn+AWOnvFONFjzX8Oi/d1JHpbsxLOz08yb2ZA42VaX/MK m67WHkGZP22nKUoS0eeXAoTUvEfmifE= X-Google-Smtp-Source: AOwi7QA7PcUee+74F9OomEGOt/IQlwQfmS9SYYycINZSJkleuEVheUaXlChpycMZ5lXMlwXbH2Aumg== X-Received: by 10.98.70.137 with SMTP id o9mr9307535pfi.19.1508174823969; Mon, 16 Oct 2017 10:27:03 -0700 (PDT) Received: from cloudburst.twiddle.net (97-126-104-76.tukw.qwest.net. [97.126.104.76]) by smtp.gmail.com with ESMTPSA id i187sm5594249pfc.96.2017.10.16.10.27.02 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Mon, 16 Oct 2017 10:27:03 -0700 (PDT) From: Richard Henderson To: qemu-devel@nongnu.org Date: Mon, 16 Oct 2017 10:25:55 -0700 Message-Id: <20171016172609.23422-37-richard.henderson@linaro.org> X-Mailer: git-send-email 2.13.6 In-Reply-To: <20171016172609.23422-1-richard.henderson@linaro.org> References: <20171016172609.23422-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::22d Subject: [Qemu-devel] [PATCH v6 36/50] 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: cota@braap.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. 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;