From patchwork Wed May 19 18:30:20 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Richard Henderson X-Patchwork-Id: 442473 Delivered-To: patch@linaro.org Received: by 2002:a02:7a1b:0:0:0:0:0 with SMTP id a27csp1585561jac; Wed, 19 May 2021 11:39:20 -0700 (PDT) X-Google-Smtp-Source: ABdhPJxfT7fdomUPwfuo/AfNT3Dr6DQma20N6jXvHgVEoUVbsoTNRkOUY4WQC+4AgX+BzNtFBwMO X-Received: by 2002:a02:9443:: with SMTP id a61mr422653jai.60.1621449560119; Wed, 19 May 2021 11:39:20 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1621449560; cv=none; d=google.com; s=arc-20160816; b=NRamiGw8knV4Oqu7DU9uH0Mf2zgZGnLAeLjtQ1wanf3l/0N9Nz+h7VYhe8TkW8m2pR Ensh29kXIMfvIlpE8TTkakMWKTauaFKFVYuZYWwlsaXJbVtPsp2tIUuA71CpN/BJCldB lNbQTxnDNt4Kb+zH8ESBbpLK7iJXiNCQ6h0BWIppUwJ9zjOzGZHPlPBLQQ0lf8CI+6cy fZqbRnRrPDDyiwhSS5aQSHuc44CPVs0+G0YgewSpRdJ/SOhuk9/oaIJBckZ4CrIJe3aB GtSwjAMt/rcJsYzW8SASzdu+qAuv5sAIbYbP0CO/R0MJ/xYz8udpz2NFBumWeQJo3D/S 0hYA== 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=QgY/O+HXE0Z19LMDWbzIdcxZYSvNYsLpXbLW2u99c0A=; b=NukV/sLpj21xmU2pKn7x5uUMo03mcRUtTj9VHyf72bu97aIqj0M5lRMj7mDFmTzzgn NLyYJTnqbaDFt/XmnMXzVLRy8Hi6l/CERarnhYdrth6dNHXP9LSQHVeO5ul3UAVk/JGY cfG0ww6M/EDudJs/YKj7c7t4zmDF8OXm8KNttdgU/mKw4yqZHAWKhz3USgk8cI1ITxk4 w7m5QN0YlCPo7qoCiIKZPcZvsZuuYTWw9F9W72PmJZsXnWNEPTjAHEUb953KyzE7rFB4 ercpVvPhmyIpsZLd8i5PcmExsCF5WZRLhxDNchMdzVFJUhZ5mBnSiMc1yf9kasHJqYbw H90w== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=iE1oZVub; 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 a2si442097ilh.91.2021.05.19.11.39.20 for (version=TLS1_2 cipher=ECDHE-ECDSA-CHACHA20-POLY1305 bits=256/256); Wed, 19 May 2021 11:39:20 -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=iE1oZVub; 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]:58468 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1ljR6F-000478-HA for patch@linaro.org; Wed, 19 May 2021 14:39:19 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:51466) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1ljQyb-0003wd-Jf for qemu-devel@nongnu.org; Wed, 19 May 2021 14:31:25 -0400 Received: from mail-ot1-x32e.google.com ([2607:f8b0:4864:20::32e]:39586) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1ljQyQ-0005jE-7Y for qemu-devel@nongnu.org; Wed, 19 May 2021 14:31:25 -0400 Received: by mail-ot1-x32e.google.com with SMTP id d25-20020a0568300459b02902f886f7dd43so12620544otc.6 for ; Wed, 19 May 2021 11:31:13 -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=QgY/O+HXE0Z19LMDWbzIdcxZYSvNYsLpXbLW2u99c0A=; b=iE1oZVubVcwOCj1VnNq6+rjnwgMRC03fT6VHXnyniK67jo2NiA073wYGesiEjx9Qyx gQEEUXoNCxiaCw+PtoudW5sZD2ST1ZPWbpI87NQX18yLJrKSn9VOVNIQ+JGOW6PxhA3z CEYzXMKwmnhfq06msa0L3P3zbwau8GbZuu6ZF38Z8DnCu6DVHgAzXHo50Lx85d1KDEes BoZ3BJ4Y+VPrKl1Uk7gHBq3KFfLE+2d060FqSXWiujns4mH085fcp6sPaVPuKfaiTqaX UjxhXQc4tMbHUgjpuyGXFj9mLaiQ3cmzcW/qALpCOzr1Cluml+pl3SnJB9Tdw0CmARwa OEXw== 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=QgY/O+HXE0Z19LMDWbzIdcxZYSvNYsLpXbLW2u99c0A=; b=f84ajjYJ5/ZeKCdq6AI/yyCU4IU14lKY59fWH6FnAV+O4ZxduEfjTkqkhhruy7yX1r ucf6q/C2XLgChPL8kssreOqp8vQE2MMrRp+XCqJ+MwVkXlvqqRRCJiDgsEvc01A3eR+Q UQTSlnHH7gfKtWkLEkUm42Zqv0F63t5U9pWlG/HlADpLkNOm3sVX8Yi+iCuLMKuMqjIb P8UnOn4kyl0RIEOA0yRDHtmHLxx0wEvln3r6d6nmSN9KsERBFNvwwCn/OcYucSwKL0sd R396anLHPid2/GYL6L/ggcTh33tmXfPsarV/ByKg5FVauS9dTb+V8OHmRTPxH7L+Hs+D SqEw== X-Gm-Message-State: AOAM533lWrZabq97udMlSBf7NvhBBqtxhlupS+bVb+NvmQHaaPIrG502 fYiSMy2JjQXPkGHLBSd0nBQe9oqPCMXAIwrw X-Received: by 2002:a9d:4b8a:: with SMTP id k10mr656433otf.131.1621449072334; Wed, 19 May 2021 11:31:12 -0700 (PDT) Received: from localhost.localdomain ([45.235.253.15]) by smtp.gmail.com with ESMTPSA id l9sm28428oou.43.2021.05.19.11.31.11 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 19 May 2021 11:31:12 -0700 (PDT) From: Richard Henderson To: qemu-devel@nongnu.org Subject: [PULL 20/50] target/i386: Reduce DisasContext.flags to uint32_t Date: Wed, 19 May 2021 13:30:20 -0500 Message-Id: <20210519183050.875453-21-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" The value comes from tb->flags, which is uint32_t. Signed-off-by: Richard Henderson Reviewed-by: Paolo Bonzini Message-Id: <20210514151342.384376-21-richard.henderson@linaro.org> --- target/i386/tcg/translate.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) -- 2.25.1 diff --git a/target/i386/tcg/translate.c b/target/i386/tcg/translate.c index 7e296b39f5..ca7f0a8cf4 100644 --- a/target/i386/tcg/translate.c +++ b/target/i386/tcg/translate.c @@ -105,7 +105,7 @@ typedef struct DisasContext { int jmp_opt; /* use direct block chaining for direct jumps */ int repz_opt; /* optimize jumps within repz instructions */ int mem_index; /* select memory access functions */ - uint64_t flags; /* all execution flags */ + uint32_t flags; /* all execution flags */ int popl_esp_hack; /* for correct popl with esp base handling */ int rip_offset; /* only used in x86_64, but left for simplicity */ int cpuid_features;