From patchwork Sat Mar 18 11:46:23 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: =?utf-8?q?Alex_Benn=C3=A9e?= X-Patchwork-Id: 664738 Delivered-To: patch@linaro.org Received: by 2002:a5d:5602:0:0:0:0:0 with SMTP id l2csp245759wrv; Sat, 18 Mar 2023 04:48:39 -0700 (PDT) X-Google-Smtp-Source: AK7set9W6eI6oP++mrCczUX+iRC0UL4N1yybENHidipgC79fk689lEJEvVkrJx8mfhtM6OZzyDsl X-Received: by 2002:ac8:5d8a:0:b0:3b8:118d:83d9 with SMTP id d10-20020ac85d8a000000b003b8118d83d9mr17384057qtx.4.1679140119514; Sat, 18 Mar 2023 04:48:39 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1679140119; cv=none; d=google.com; s=arc-20160816; b=mXkbPfo6JWG4bLgSC6C4C92E6IXp0AcWUe8leKVGy3775nvh07MlD6E4jYP+TJXBwd 8roZWp6Z3CBZ4AEyoObzZQXMT99q7JQQnQ7NK8QmR6AEExPXHSX1endjp42fC5IVAidg SKZbX4gsWgPVsUDjpCpSOXtFTvzTImx1WK7y8eM+ZBDnatH0p564ylV6W9Ux4k9QIeW3 INhZiQ3x39fsgJpHBqaafrux5/2o46aiOxebKSvi1ArMOomFpSOIDESpVfFXVgJBSLMI YGblgqNMz2Bf3BrCBTm0lyUN7PkV+4hCf/HManM6ydqnToO8u2f/dXKmlbQkwv411dU8 C17w== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=sender:errors-to: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:cc:to :from:dkim-signature; bh=xJOw9krfcPlJ6wcYXSThrOaozHtoi6cPC6GULZW68Zc=; b=hBLAU+GNftJ6MXwbBYKBNE8iy34HGDCh++/n/opJoh51e30p2mOr8p7qc8WxtCG3Yz HYX41qdVy4f5UxZQnvS7MbxwFM36Gg7csgwUjAn1bm1JbSBWyudiGaOHO8ofw/AfEncW 0M0sG/qiPlStjvzE8CKGQbLm/DiNyiEtDgi2XLROSs+TeG+T4UP4JsFomirvB4Qu/riE bqgKUw4GRNz4UMwSef9xAAk+7zaPKNsiapnsWg7kUiNlITK0GCgGFA7yea2r3PuvOkt+ JZQn0cwDNrQVVjZLWY/rc3dbOOPMv86qZ8f3JNqYctOACNMl7p2DZdnRQIrxsuTkQ9w4 Tb6A== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=DdsgKN+s; 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 o2-20020a374102000000b00729ed548e27si2938765qka.214.2023.03.18.04.48.39 for (version=TLS1_2 cipher=ECDHE-ECDSA-CHACHA20-POLY1305 bits=256/256); Sat, 18 Mar 2023 04:48:39 -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=DdsgKN+s; 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] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1pdV1X-0004oi-64; Sat, 18 Mar 2023 07:46:59 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1pdV1Q-0004mK-4y for qemu-devel@nongnu.org; Sat, 18 Mar 2023 07:46:52 -0400 Received: from mail-wr1-x430.google.com ([2a00:1450:4864:20::430]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1pdV1N-0007DA-UH for qemu-devel@nongnu.org; Sat, 18 Mar 2023 07:46:51 -0400 Received: by mail-wr1-x430.google.com with SMTP id v16so6525789wrn.0 for ; Sat, 18 Mar 2023 04:46:49 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1679140008; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=xJOw9krfcPlJ6wcYXSThrOaozHtoi6cPC6GULZW68Zc=; b=DdsgKN+siFhEyfm2oklxJTizJdKc2Y98JnE4edeNcrPKsDv8IqJr+gVJk9lwxBnfGs +3wEyx+OFx5cxNx9FDpeCD+6UkzexD8CCrdIlynY3JBExh85Mg2URLpxvWwDdU9xmjQs BGNidFtMJSGclKdmgCZ9K+0XC4jHCPQbNb318l6U61BAHKo/lWz7QImj4Ks2GYA3lO6l z01ARIiF8Y0XN+NP1pbFNL2c1AiAVy7iTvZUYKxhsSYMpu72YlHhUX6jHOqEXxBYrGra 2VyKESPfQ0PMT01kVJJ42TG0qT2pGcT+K8gsVPgGDIxry/riqvXXDkQE+pSYvsRxn5yY z1yA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; t=1679140008; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=xJOw9krfcPlJ6wcYXSThrOaozHtoi6cPC6GULZW68Zc=; b=GvO8gz7hAx+GBIL6LNiR/9126s5MTHjJrTVQKRR8OVVo1vUzHgSCckJhfECsOED1Ps CnhiA9c3AQsOiXpMCiywjDMhjriETgnieydS7tP0p/5lHamLo15kU7a7Cn0jwuBoPhec DncLJl1NTyG8NITOuSWLFnBfq4qmlhVEkSvazbvNxXpHtXnFKZ9qCU0blsqZFSMVp3iz texiRacz62bsG+KEywS5gD0pa8yABTz5ynEhOcr3Ndhp90wHlXhK5feb/g8Re7NeKA14 GuZArcyEIT7W+HagU/44MKmOMhcnc71Pb2QTP74wXgSMM5Bpva/Qpyv+sQPp1TAF+GYP FiNQ== X-Gm-Message-State: AO0yUKVHR3m+FCtArkjTVREovM5l3P0WNF/Lu5JITf1W+KBo/uC+2Uie JsIrM+cZAV1f44vaGmUnkeL/zLhe74O/NvjK/MQ= X-Received: by 2002:adf:cc8b:0:b0:2d0:776:b766 with SMTP id p11-20020adfcc8b000000b002d00776b766mr8556571wrj.8.1679140008652; Sat, 18 Mar 2023 04:46:48 -0700 (PDT) Received: from zen.linaroharston ([85.9.250.243]) by smtp.gmail.com with ESMTPSA id u8-20020adfdb88000000b002cff06039d7sm4162153wri.39.2023.03.18.04.46.46 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 18 Mar 2023 04:46:46 -0700 (PDT) Received: from zen.lan (localhost [127.0.0.1]) by zen.linaroharston (Postfix) with ESMTP id 863991FFB7; Sat, 18 Mar 2023 11:46:45 +0000 (GMT) From: =?utf-8?q?Alex_Benn=C3=A9e?= To: qemu-devel@nongnu.org Cc: peter.maydell@linaro.org, Richard Henderson , =?utf-8?q?Alex_Benn=C3=A9?= =?utf-8?q?e?= Subject: [PULL 10/31] tcg: Drop plugin_gen_disable_mem_helpers from tcg_gen_exit_tb Date: Sat, 18 Mar 2023 11:46:23 +0000 Message-Id: <20230318114644.1340899-11-alex.bennee@linaro.org> X-Mailer: git-send-email 2.39.2 In-Reply-To: <20230318114644.1340899-1-alex.bennee@linaro.org> References: <20230318114644.1340899-1-alex.bennee@linaro.org> MIME-Version: 1.0 Received-SPF: pass client-ip=2a00:1450:4864:20::430; envelope-from=alex.bennee@linaro.org; helo=mail-wr1-x430.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.29 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: qemu-devel-bounces+patch=linaro.org@nongnu.org Sender: qemu-devel-bounces+patch=linaro.org@nongnu.org From: Richard Henderson Now that we call qemu_plugin_disable_mem_helpers in cpu_tb_exec, we don't need to do this in generated code as well. Signed-off-by: Richard Henderson Message-Id: <20230310195252.210956-3-richard.henderson@linaro.org> Signed-off-by: Alex Bennée Message-Id: <20230315174331.2959-13-alex.bennee@linaro.org> diff --git a/tcg/tcg-op.c b/tcg/tcg-op.c index ddab20a6a6..3136cef81a 100644 --- a/tcg/tcg-op.c +++ b/tcg/tcg-op.c @@ -2808,7 +2808,6 @@ void tcg_gen_exit_tb(const TranslationBlock *tb, unsigned idx) tcg_debug_assert(idx == TB_EXIT_REQUESTED); } - plugin_gen_disable_mem_helpers(); tcg_gen_op1i(INDEX_op_exit_tb, val); }