From patchwork Wed May 19 18:30:26 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Richard Henderson X-Patchwork-Id: 442491 Delivered-To: patch@linaro.org Received: by 2002:a02:7a1b:0:0:0:0:0 with SMTP id a27csp1594075jac; Wed, 19 May 2021 11:52:00 -0700 (PDT) X-Google-Smtp-Source: ABdhPJxzYpEDxXeR8wNODa8f23vgPX8MOE2mRyKiZKdCBuH6cIRdiPZqPqO9cyfAgcAKK4uRzs+5 X-Received: by 2002:a05:6e02:2162:: with SMTP id s2mr458605ilv.237.1621450319938; Wed, 19 May 2021 11:51:59 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1621450319; cv=none; d=google.com; s=arc-20160816; b=fzjbieHhVXqaGSX7Q/rfbkffa0etvT77UdMJIWYtNaSuWbCJoBT2jfapr8UPREvdFf +qDaFcMAkXOA5fqfa/wufJ7hlqe0WX3aNW6KJ9Q1yKw3G/NuczKmxu7opPCXQsRkKTMH 56vD6mP10aDoV7NPiwgV1zrDwHgSr99JH3z/jwme+tQJCxkW/IA2nzQ5n5l3FAtkz7xv H7lRFrLZS+jclIyN8mygpw60a8rZk1tRtxd+r4Ju+LBMnENkxa1oawLbfGM1IUk9Gw8X GFJ/QYqL+EWDTLhbaSztv0Pg7RKElvxTH8TChp7NpGOYY41rI3G5aB0CZ2jCq6kH10DD f90w== 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=l7/mZ3OBU1PFkFN8QyiVnXNGXP8bHJzSnl+yFiRCNuE=; b=H2sho1C14wCObHdJiKPnz4ZPUY9uKnhD5LxIgcmXu+WdonSej9+qnYpgrdIFvn/YxW UcNXBObbRPPuqrn5FUvBMhpAHpSENUdQaX4a/WkI3WMIofDnzvBHq8ebH4I7v/mlBarl e33CQajkN/zDPoCS8K6wAZzb1L78vN/BV/IodQdBlsLPh7CHq6kuS5KJ9Y3yQRdxHI0q LVCNX2Z5fLiSQ4Bw6QP2uYbO/KRu1vlGtYjs6h5WogRVhGAUUVRXDvd9Ksi1Bz+vEThl FwK6XXC+cdz2PVvTZ6cg/5BfT5EBkPH6wnzipAZXMrZN/1yzVKoZQRGzvgnJzxErrHru XoWQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=W7E1tQl9; 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=pass (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 v30si127456jal.60.2021.05.19.11.51.59 for (version=TLS1_2 cipher=ECDHE-ECDSA-CHACHA20-POLY1305 bits=256/256); Wed, 19 May 2021 11:51:59 -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=pass header.i=@linaro.org header.s=google header.b=W7E1tQl9; 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=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: from localhost ([::1]:37020 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1ljRIV-0002aK-Bj for patch@linaro.org; Wed, 19 May 2021 14:51:59 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:51664) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1ljQyl-0004IG-PX for qemu-devel@nongnu.org; Wed, 19 May 2021 14:31:36 -0400 Received: from mail-ot1-x32e.google.com ([2607:f8b0:4864:20::32e]:35672) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1ljQyX-0005kw-DD for qemu-devel@nongnu.org; Wed, 19 May 2021 14:31:35 -0400 Received: by mail-ot1-x32e.google.com with SMTP id 69-20020a9d0a4b0000b02902ed42f141e1so12616539otg.2 for ; Wed, 19 May 2021 11:31: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 :mime-version:content-transfer-encoding; bh=l7/mZ3OBU1PFkFN8QyiVnXNGXP8bHJzSnl+yFiRCNuE=; b=W7E1tQl9SvFS2Z15xTvE9J39X05VP9JvRK1ocA+XC74w49GaJPoNviOidNrzeazb9j ehylXHm3Y45+nqhE66Dg74jeB4o9sCsYKWSAwPBSk6RvteIKTY0Lzj5Qqr61D+Hm7MgV bWQUdHFNMJDeSjVJvY1bdvakLjCcDEXNaHkcXpG7DjJCYzWcReL1PBpYujrzv8c3BX9E LNT4vCAl2snApEjsiIsG4AZ6DLKbLzpKtU15aqSKzM25RxhhSpEGHYUD11ol8y++ObcB gQvqK1eSJuPMg4aFXz3b9LsnbLzKXpyWDKBIB091Wo5w25O9fJDGTsafx+fQjXzuUwB8 LLTg== 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=l7/mZ3OBU1PFkFN8QyiVnXNGXP8bHJzSnl+yFiRCNuE=; b=ssas2LTISw1S77bl7Klbb4HUNK2NhlUO8L3TQ1pFiRYee+autPv7gKfsssJyXpwgCg IWk62SucE0kJt4achvrYnO8A5SpMtAWOueODPBVU7UJyiTgtDR54TQUFvCwQZEHYJEJC wc3veCXhfAG+bYlh8PiECJ2r7vJulWdK/UxZPaQCIZa/dtvkjCBN43J+LZ2zwRLOdrGK cjqhwXxVxuY0cei74JI44b3Vl4Wir/27XP8KWbu/Q0i0ZqriGN3ujVJ3N2FO+b6tNgQQ AvVGK6ziHKQO4Y+nGFtiehW2suke6ui69ZkFXJUy10xOMVzH24IIDkNfgWCDZF/h+M9J JO7A== X-Gm-Message-State: AOAM533zoeaNCZm8ecRC7lgot0Saq36f3H4tflgwonVbQfEmQlRtXIYp HlgNCGpR3FuBETXrmS1yNVayYYRFjoMZvVDw X-Received: by 2002:a05:6830:1510:: with SMTP id k16mr652122otp.290.1621449078228; Wed, 19 May 2021 11:31:18 -0700 (PDT) Received: from localhost.localdomain ([45.235.253.15]) by smtp.gmail.com with ESMTPSA id l9sm28428oou.43.2021.05.19.11.31.17 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 19 May 2021 11:31:17 -0700 (PDT) From: Richard Henderson To: qemu-devel@nongnu.org Subject: [PULL 26/50] target/i386: Reduce DisasContext jmp_opt, repz_opt to bool Date: Wed, 19 May 2021 13:30:26 -0500 Message-Id: <20210519183050.875453-27-richard.henderson@linaro.org> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20210519183050.875453-1-richard.henderson@linaro.org> References: <20210519183050.875453-1-richard.henderson@linaro.org> MIME-Version: 1.0 Received-SPF: pass client-ip=2607:f8b0:4864:20::32e; envelope-from=richard.henderson@linaro.org; helo=mail-ot1-x32e.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: peter.maydell@linaro.org, Paolo Bonzini Errors-To: qemu-devel-bounces+patch=linaro.org@nongnu.org Sender: "Qemu-devel" Signed-off-by: Richard Henderson Reviewed-by: Paolo Bonzini Message-Id: <20210514151342.384376-27-richard.henderson@linaro.org> --- target/i386/tcg/translate.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) -- 2.25.1 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 */