From patchwork Fri Mar 10 19:52:47 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Richard Henderson X-Patchwork-Id: 661645 Delivered-To: patch@linaro.org Received: by 2002:adf:a3c6:0:0:0:0:0 with SMTP id m6csp1033467wrb; Fri, 10 Mar 2023 11:54:17 -0800 (PST) X-Google-Smtp-Source: AK7set/IvRJOVu5I5A+pA0VmxJrYuJ9kpK/IJ/TGG/JvRHOKSLK8ciiGHhAWOoHYRcUWNLp74y1p X-Received: by 2002:ac8:5a49:0:b0:3b9:2c3:675a with SMTP id o9-20020ac85a49000000b003b902c3675amr53182778qta.62.1678478057650; Fri, 10 Mar 2023 11:54:17 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1678478057; cv=none; d=google.com; s=arc-20160816; b=GZpCA8gYux+Zv/fgpt3KcrrGIeezTuEoDjFbWpccERZ3qHXmZSAcFUJXtJ5PIqJGum 7Odn+2GbwE0fBgRfDS3+dYB0TupLo4XNlnkdkUYkyKSi/r2xlpJXMN7sLQxFK34xIUUZ 90djr3QaJ1sGk9QkfnJ8KrJ1hdZ2T7zUrNM6B9UD6YQL/k9QtJzZnWE6PSmBtAYru4bt LK8/ngwI76AeYZYs+Sk998OC4EyC5Lgu5vJga7bufpRaftDXJYtveUe8a4DRosryYxbA viQwBTCAC3nR95i+b9bIeYtQ+wcaXJhSlZHBKut5VYkjc/GjGtVozlhQnkCP00ibOKfT 6n6w== 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=PhWkYcOhVpipdIZZNXYjZ5hy9+cyWvQ0gdF0syaRWxw=; b=lfDlSHoYcQFsFj3s2M44it8piIZ4gNK2cYmcoD1Smt2fIwSrHfijLpJ27tssOI6kmA ve8c3tqnzboStNFBIGBkU0IHVXew9XBptr5pzBaEyBAR4DtNIdoPy7/aRJv2HvLaAc3R gm3zx6NK+7HjQOTAAyO8Q1OByf3QiWGP+6irJ5aSgMMKHDrtm2uMBVSmS61uxX6MnNpR eqyWx2Rf+yLn71xOWR11QvcPtdIZE3fg1eOpDZmkBQemJ7tWsZoNvoqV/JBw2zI2mUIU 2zTnNyuUAnzAYpPzBD92QYVjc0GfbpXDvIJwJGRnlbDhXIdzOkP0VHAdwKhUthvui7Tb jS2A== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=lnyzWyf0; 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 a13-20020a05622a064d00b003ba3bc3a8dasi512780qtb.145.2023.03.10.11.54.17 for (version=TLS1_2 cipher=ECDHE-ECDSA-CHACHA20-POLY1305 bits=256/256); Fri, 10 Mar 2023 11:54:17 -0800 (PST) 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=lnyzWyf0; 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 1painU-0001G9-U6; Fri, 10 Mar 2023 14:53:00 -0500 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 1painS-0001Ev-OT for qemu-devel@nongnu.org; Fri, 10 Mar 2023 14:52:58 -0500 Received: from mail-pj1-x1032.google.com ([2607:f8b0:4864:20::1032]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1painQ-0004eS-Cn for qemu-devel@nongnu.org; Fri, 10 Mar 2023 14:52:58 -0500 Received: by mail-pj1-x1032.google.com with SMTP id x20-20020a17090a8a9400b00233ba727724so8491767pjn.1 for ; Fri, 10 Mar 2023 11:52:56 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1678477975; 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=PhWkYcOhVpipdIZZNXYjZ5hy9+cyWvQ0gdF0syaRWxw=; b=lnyzWyf03lzy1Mk/YnEyHnZCY58862Xp61RSY7da1niP29A8jFz+0V8TYZbu6kU/T0 5RbWFWCT1IlUIj8KnKNdJL3XyL75WzCbeyUu0eVrA/Lwz5vqFmWiQPkYLBSmmajVx4Qs NZdcFQLoW8axwhTfbEVTRgpqIKjiyw4a8/iBcTVmUI10S3zJkLR2fx0Q+sHAGgzPk5X1 kNJruhOt3MYr3d/22CMgCYGJDZ/RKs3eImtgJhjz+1ueig+Uo1QUXWEHLVeLX71wcFOX ceXWLIB081FHzVKgtXm/0BQuPl1XfmbVlkQoL4Z8gruBjp6dW2JnLzdVVgZCx1EEpUGr xk+A== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; t=1678477975; 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=PhWkYcOhVpipdIZZNXYjZ5hy9+cyWvQ0gdF0syaRWxw=; b=xi/7Q33qvOqNcWL7sqOZBhFuHlsef3IQRxJKtgS7woh0htU8+VnFgcX4030meVn2+3 v/wJWedEbgaBKW4EB5XL7oUMnxwJJWp6D2WbXc6gx8g4Cbe4uLQuo8n/LP5MBAZeAHwn g1H48OLzuLTRe/CK+xA7RFYRO91fxSig9OMjexkN/PiuW1SX35gppSc/P6v0SuU7PMOg y2o/HRHAU6FqBebN0emuddToSgDwt0jgnLmfwDPSM8Hc+MsRHbgfrE8GjJXVpqh/o9uS 5Hth4oWQ4SCR9Lj9JSuc9T8CHuB4K5nuHrZARV4jtY1urVKClP5hY58+0SaRE2fxRpB8 D5+g== X-Gm-Message-State: AO0yUKWD/7UE/dlb4tEQhb7k8/Ad6Bofs7M8eL5RYjWHqblnSE2aAzV0 ojH7JApG1KNd3t4keoUhoRgu4k6S2nAJvlAWhfE= X-Received: by 2002:a17:902:ce92:b0:19c:f8c5:d504 with SMTP id f18-20020a170902ce9200b0019cf8c5d504mr7814287plg.59.1678477975225; Fri, 10 Mar 2023 11:52:55 -0800 (PST) Received: from stoup.. ([2602:ae:154a:9f01:cc1c:ced1:1ec5:bd62]) by smtp.gmail.com with ESMTPSA id l1-20020a170903244100b001991d6c6c64sm351465pls.185.2023.03.10.11.52.54 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 10 Mar 2023 11:52:54 -0800 (PST) From: Richard Henderson To: qemu-devel@nongnu.org Cc: cota@braap.org, alex.bennee@linaro.org Subject: [PATCH v2 2/7] tcg: Drop plugin_gen_disable_mem_helpers from tcg_gen_exit_tb Date: Fri, 10 Mar 2023 11:52:47 -0800 Message-Id: <20230310195252.210956-3-richard.henderson@linaro.org> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20230310195252.210956-1-richard.henderson@linaro.org> References: <20230310195252.210956-1-richard.henderson@linaro.org> MIME-Version: 1.0 Received-SPF: pass client-ip=2607:f8b0:4864:20::1032; envelope-from=richard.henderson@linaro.org; helo=mail-pj1-x1032.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 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 --- tcg/tcg-op.c | 1 - 1 file changed, 1 deletion(-) diff --git a/tcg/tcg-op.c b/tcg/tcg-op.c index 77658a88f0..cc8fdb0e46 100644 --- a/tcg/tcg-op.c +++ b/tcg/tcg-op.c @@ -2813,7 +2813,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); }