From patchwork Fri Oct 20 23:20:07 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Richard Henderson X-Patchwork-Id: 116585 Delivered-To: patch@linaro.org Received: by 10.140.22.164 with SMTP id 33csp2242420qgn; Fri, 20 Oct 2017 16:56:24 -0700 (PDT) X-Received: by 10.55.182.129 with SMTP id g123mr9424441qkf.163.1508543784429; Fri, 20 Oct 2017 16:56:24 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1508543784; cv=none; d=google.com; s=arc-20160816; b=uuv7BxlgFL+LDMVfi6MsBLig5aoZmUXh4sn4IDsYDS6hFN3Q0otsn9lq2H7AOW4H1J Y5OFQVzqetdJ3v5MeOqgx+KdymPLoJP3A615f9KiF/3wx794U4NoYx4WJtsoYfGXqdtY h0d6g44VFe6l5epPw6n1UcNDa64t2WNQiD5oeTpg185JQzBy0o7rM4JMNedSwVEUBKMo DsbG7aum6BR26Ob7YOzi78gSnbHU9+g6lltxbNWJYNtin2r2ml3/tUdmkd2Lw/hVg+I4 lIgMRwyXDKNlyChjio4N1NmS1GZXpFLdkfWiZ0pYeggUX3PBXNZayon3ibbx5tvTxa0F 83pw== 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=KJ4gDMUPwXjfXl9fJJYi8/J/XArqe/ttSrc2X1pcXVYX5QGiS+K+qFb6GFEVAqhLmq NNfvEvm6hevwEaC3PPrGRypYr7LtAAhVM9NvpEke2YApvEUK7zBaVB7eOx7paE+5Lytn 5+1oui1C432RYAdXRIUVLnHDeudpSBj5OjUenMd5zck7coq0hAicxQ5kijuyEPbjc8Vg /Rh/pviLDyD5LAqeL5VQP63vjhNin8HrnZkMw5FLmPD+72pD7fFr6qCvb4K98PVhfZY0 pOP7NUyFDkIhXHrW3MPquySYadN0D/d7ieOt0EeMnk8d4tQ994CVli5gzy65mm9eLk+z 5H4A== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@linaro.org header.s=google header.b=ZDqHK6Ov; 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 u6si1694783qkd.122.2017.10.20.16.56.24 for (version=TLS1 cipher=AES128-SHA bits=128/128); Fri, 20 Oct 2017 16:56:24 -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=ZDqHK6Ov; 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]:56130 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1e5h9K-0003RX-F5 for patch@linaro.org; Fri, 20 Oct 2017 19:56:22 -0400 Received: from eggs.gnu.org ([2001:4830:134:3::10]:44666) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1e5gbT-0006SS-A1 for qemu-devel@nongnu.org; Fri, 20 Oct 2017 19:21:24 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1e5gbO-0007su-RN for qemu-devel@nongnu.org; Fri, 20 Oct 2017 19:21:23 -0400 Received: from mail-pf0-x242.google.com ([2607:f8b0:400e:c00::242]:47098) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1e5gbO-0007sY-LY for qemu-devel@nongnu.org; Fri, 20 Oct 2017 19:21:18 -0400 Received: by mail-pf0-x242.google.com with SMTP id p87so13074766pfj.3 for ; Fri, 20 Oct 2017 16:21:18 -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=ZDqHK6Ov2aUSvYQ5IqCXfjZhFQx7LG3y/lDgqP1iu8MkKAtyyifLXwMatmoU+9oVzE 3XJK4ljbM8DKoDVfMjg0QViegqzRCrCa/PgJRBtyL95+bddqz8LUQoCfUkxRAzxfJPX5 /+7zbUXXEY+U8HbPEYKEduErFbLQnqQEJg/v8= 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=J3WAdVEBzVgiPdEsREiLCuSuYmWJWMhqUZYBZxgEVlbqoSTF2vsp3FhBevgSYp+ODt q2lkbYCvqGBdEGUEC/qRBl3vTyzkL3qTL7piPMzK1RmhiEDgcFTtEuNFXC3RDxnFNxPo loQWWwLq3PEh74vwN+nYjnoMgppzsKstwgQcxWIyBj8ToRlhKIXRNUBsFSMwFuAASZ/L qRAPbgpdw+tZR7iTHO6ckOxwTc0S3qf9pot5W6MRgEY0SzwHg2wyHwgLRZZh6UTvVbfY mbsdTOP1v1ZUywzdhF1wr3OF+wP5XJzJJpT9DAyM9Pd1bgCxTztTTTBCZ3x670SXvppI TJ/g== X-Gm-Message-State: AMCzsaXbqIGEKmSnLEuyS8SIRIRZgjTkeX4xbc6Wl4oxJPhDTHFRlHGx ZhBjlTc3mfejiRWmNOG641l79cKSFgU= X-Google-Smtp-Source: ABhQp+RclZpminwe1vLa27BfunqCx6CK7ss5n5H15O1rBkMUE5yTUdNePYaqD6gbrRKeFScuR2NzQQ== X-Received: by 10.159.216.140 with SMTP id s12mr5416981plp.318.1508541677523; Fri, 20 Oct 2017 16:21:17 -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.16 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Fri, 20 Oct 2017 16:21:16 -0700 (PDT) From: Richard Henderson To: qemu-devel@nongnu.org Date: Fri, 20 Oct 2017 16:20:07 -0700 Message-Id: <20171020232023.15010-37-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::242 Subject: [Qemu-devel] [PATCH v7 36/52] 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: pbonzini@redhat.com, cota@braap.org, f4bug@amsat.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 Reviewed-by: Emilio G. Cota 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;