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: 10021219 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork.web.codeaurora.org (Postfix) with ESMTP id 30FEA602B1 for ; Fri, 20 Oct 2017 23:57:01 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 227F728F03 for ; Fri, 20 Oct 2017 23:57:01 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 1418A28F10; Fri, 20 Oct 2017 23:57:01 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-6.8 required=2.0 tests=BAYES_00,DKIM_SIGNED, RCVD_IN_DNSWL_HI,T_DKIM_INVALID autolearn=ham version=3.3.1 Received: from lists.gnu.org (lists.gnu.org [208.118.235.17]) (using TLSv1 with cipher AES256-SHA (256/256 bits)) (No client certificate requested) by mail.wl.linuxfoundation.org (Postfix) with ESMTPS id 9F94F28F03 for ; Fri, 20 Oct 2017 23:57:00 +0000 (UTC) Received: from localhost ([::1]:56130 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1e5h9v-0003RX-V7 for patchwork-qemu-devel@patchwork.kernel.org; Fri, 20 Oct 2017 19:57:00 -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+patchwork-qemu-devel=patchwork.kernel.org@nongnu.org Sender: "Qemu-devel" X-Virus-Scanned: ClamAV using ClamSMTP These flags are used by target/*/translate.c, and affect code generation. Signed-off-by: Richard Henderson Reviewed-by: Emilio G. Cota --- include/exec/exec-all.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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;