From patchwork Fri May 14 15:13:18 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Richard Henderson X-Patchwork-Id: 438934 Delivered-To: patch@linaro.org Received: by 2002:a02:b78d:0:0:0:0:0 with SMTP id f13csp444834jam; Fri, 14 May 2021 08:32:22 -0700 (PDT) X-Google-Smtp-Source: ABdhPJwBWmKJEPvTFkw7n1vY76vebl5nwmVFlY/gxnYx1d9OTJ9Z2NihgPGWNbZH7TBXJd7GcI00 X-Received: by 2002:a02:ca4e:: with SMTP id i14mr42901978jal.101.1621006342076; Fri, 14 May 2021 08:32:22 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1621006342; cv=none; d=google.com; s=arc-20160816; b=sn6UhTBWgx31f7ztwTxFVoopoMP05DPbyR4tphayP+V+Kcf2P0SY8B6EJ6QqgRw4eD CnmFi9hz4f26sJSUrNcylW3oBGyxTkGPozLZBMVu7bf3q9OuKInH1cm4NNNfVzazwAvh ocnK1dEA2MSYFUyQ47OJbFIoXADpbEZHhvHy3MKp32sDwJwIKIKRpD+rWlpl3lQ6Ao0p vAspYeSgpu0megpxwjAPgZT6yqDTLObFEJoDM/NDR9Xx2kx6Ga37+c/mbNFxEBBSNrK2 slM/XqC+HI5+qRr1bAXXnfwDRx45egTyZHFaaQq0ulBWUe/Gw/iFsvMgtMpseBL/rkxN pXOQ== 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:content-transfer-encoding :mime-version:references:in-reply-to:message-id:date:subject:to:from :dkim-signature; bh=qJoH36NcaZSZ2yzHruKlic3w1esXmUvOLvdzF5tdSBo=; b=a/ydHsf5XiZe5s/YUTA9sHXW4hE5WTMtKteGrInGNnckETiY3xhUSm3WlgVCXPnxgA zbJoFjB7K7bitt7e4eFd4zhw/4zG+M/YoLBdcBoL9IzoMO2F4SdwkoiqTKd+UFn3DSHG eQ5c9f6zrLZwDthMw15yNalJEl85H+xi87U3pUUGLBEQ10NIgj1PEvLI97YscPv+8PWr DwEz+0t5ijjKDqCjPM1t70yY8zFHNO2JsCdrxy6MTd3xgD7uP8QE59/vr5FayWf6mjSN TmlDE+GLAAOc3Es+h3YekCRhjUzluLnK4FrCI8rJOgXqkXqyZr0EcRegpTy8vYpaaeUh HY3A== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@linaro.org header.s=google header.b=Wuoog4OY; spf=pass (google.com: domain of qemu-devel-bounces+patch=linaro.org@nongnu.org designates 209.51.188.17 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. [209.51.188.17]) by mx.google.com with ESMTPS id v3si7932893jas.76.2021.05.14.08.32.22 for (version=TLS1_2 cipher=ECDHE-ECDSA-CHACHA20-POLY1305 bits=256/256); Fri, 14 May 2021 08:32:22 -0700 (PDT) Received-SPF: pass (google.com: domain of qemu-devel-bounces+patch=linaro.org@nongnu.org designates 209.51.188.17 as permitted sender) client-ip=209.51.188.17; Authentication-Results: mx.google.com; dkim=fail header.i=@linaro.org header.s=google header.b=Wuoog4OY; spf=pass (google.com: domain of qemu-devel-bounces+patch=linaro.org@nongnu.org designates 209.51.188.17 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]:41352 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1lhZnZ-0000Qd-Ex for patch@linaro.org; Fri, 14 May 2021 11:32:21 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:36920) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lhZW2-0005z6-Av for qemu-devel@nongnu.org; Fri, 14 May 2021 11:14:14 -0400 Received: from mail-qt1-x82d.google.com ([2607:f8b0:4864:20::82d]:33471) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1lhZVx-00075C-9C for qemu-devel@nongnu.org; Fri, 14 May 2021 11:14:13 -0400 Received: by mail-qt1-x82d.google.com with SMTP id 1so22444851qtb.0 for ; Fri, 14 May 2021 08:14:08 -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 :mime-version:content-transfer-encoding; bh=qJoH36NcaZSZ2yzHruKlic3w1esXmUvOLvdzF5tdSBo=; b=Wuoog4OY96XpITteXLqLnVwrvqR1vejX7ni9yJjpwrwcc09zEag86nz4GyP/21iGng vL0x0WXyJWvLu+agYpOuenI3NcFALPGidzGUQH98esUJ04DZDxTg9QovYKNbRXxrMkIX +kNd8BwMLiYSiL358WheH/jckTz119OEKbTI44mhb0xJoB/ioMWvTinDAa7QryqiF/CD BzPc8x3Fjlbg2KR+utC206KYSvv51WY/4FgBSdmaUqrYmxWdT+CuyXZIVgTTOtpHej7x Lq0veaOCtdo/+28a/8wN0FF7jljJW1xuekSVr/r0GYLt6/bFt3c/DSlyG4ii9gzdA4RA IfSQ== 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:mime-version:content-transfer-encoding; bh=qJoH36NcaZSZ2yzHruKlic3w1esXmUvOLvdzF5tdSBo=; b=MFP8bE5F+nhLQIY6kCBnyCmZO+KcYy0mGE4hJ4cKE2aHa4poDDETELfje7VqHbtK9y Y5eklr8UQoXCVAKbwR26VtQrr+D1ZM2nDrAGmx9oBdvxrLqPB5epa2tdr5vEJgl8pTVx /zXl4KVyQ95vDB4xcj5yMYezw6RAK2Oix+mLXeyQhs1GpmFkA0yEyX8UiSUvqm2iVEID bDlly0TcJXFlUXMpK/LCduIJ5cyvq3TQ9dnvup9Pbsl1AwqqyApqfg+HYM6/NZU2adeT 4jdz7bf27iz8k1RKgVwqDllsYby39qL/xOcJPW7Ny30qJ6wCZh4gTrqDh1b45cjz1ydG sWmA== X-Gm-Message-State: AOAM532WDiotI4e3NbcZaD4c2n8CuCWavPc0fVtMoS4xx1IkCnUALFD8 5OY60Ntss4grk4ay5Rs3pB9yFlfRe17a/o0hEMY= X-Received: by 2002:a05:622a:40b:: with SMTP id n11mr43153449qtx.167.1621005248162; Fri, 14 May 2021 08:14:08 -0700 (PDT) Received: from localhost.localdomain (163.189-204-200.bestelclientes.com.mx. [189.204.200.163]) by smtp.gmail.com with ESMTPSA id u6sm4778966qkj.117.2021.05.14.08.14.07 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 14 May 2021 08:14:07 -0700 (PDT) From: Richard Henderson To: qemu-devel@nongnu.org Subject: [PATCH v2 26/50] target/i386: Reduce DisasContext jmp_opt, repz_opt to bool Date: Fri, 14 May 2021 10:13:18 -0500 Message-Id: <20210514151342.384376-27-richard.henderson@linaro.org> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20210514151342.384376-1-richard.henderson@linaro.org> References: <20210514151342.384376-1-richard.henderson@linaro.org> MIME-Version: 1.0 Received-SPF: pass client-ip=2607:f8b0:4864:20::82d; envelope-from=richard.henderson@linaro.org; helo=mail-qt1-x82d.google.com X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: qemu-devel@nongnu.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: pbonzini@redhat.com, f4bug@amsat.org, ehabkost@redhat.com, cfontana@suse.de Errors-To: qemu-devel-bounces+patch=linaro.org@nongnu.org Sender: "Qemu-devel" Signed-off-by: Richard Henderson --- target/i386/tcg/translate.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) -- 2.25.1 Reviewed-by: Paolo Bonzini diff --git a/target/i386/tcg/translate.c b/target/i386/tcg/translate.c index 3f6214c624..b9b94f0625 100644 --- a/target/i386/tcg/translate.c +++ b/target/i386/tcg/translate.c @@ -101,8 +101,8 @@ typedef struct DisasContext { uint8_t vex_v; /* vex vvvv register, without 1's complement. */ CCOp cc_op; /* current CC operation */ bool cc_op_dirty; - int jmp_opt; /* use direct block chaining for direct jumps */ - int repz_opt; /* optimize jumps within repz instructions */ + bool jmp_opt; /* use direct block chaining for direct jumps */ + bool repz_opt; /* optimize jumps within repz instructions */ int mem_index; /* select memory access functions */ uint32_t flags; /* all execution flags */ uint8_t popl_esp_hack; /* for correct popl with esp base handling */