From patchwork Fri Apr 30 01:15: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: 429732 Delivered-To: patch@linaro.org Received: by 2002:a02:c901:0:0:0:0:0 with SMTP id t1csp2107422jao; Thu, 29 Apr 2021 18:25:01 -0700 (PDT) X-Google-Smtp-Source: ABdhPJzsA5HRhu5ZJ8TNPScizz6osqh38RCwcdD/h0ZIPHlGusUnJPhk0wTGbc/kyEkU/QgJFMD9 X-Received: by 2002:a92:ab01:: with SMTP id v1mr2206479ilh.190.1619745901561; Thu, 29 Apr 2021 18:25:01 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1619745901; cv=none; d=google.com; s=arc-20160816; b=iuORE3Fk5UPHyWA0H5qmQb+XkgSGLbXD4d3pa3HVNJSY4Bc22Oh71vgl2Bn7vlVXKb Tvsuqj0y27FexUcQNaEznGQWvpGelDp9+A7c9LUXMpIHzMVirHZNw7lck2FyZfILz8F6 OEGZSuhi6V0Zoub3kuGfM1rh0a6OSeRHiXkIcd/Byf0VVKJbIWAh7vqgGbPcmZCcMfuM B9RnHJgy2vcoyrPti2KOHCFaryXMtaEL57sQ8cxWqrPbW/ZL8oYj/R7quUZVZG4ykuQk iM4Yx/PKveHmVHTFk07FQ8cr32nGNMjWYOWpY8zQxrXS3Hg5GWEgesIHEOTjBYQsyoy2 ntBg== 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=vI0Nppr/jR9QkJKg+7QUG9KyH4vg0w2u1KFcbBuivD8=; b=BrL/aDDIuRc39d2DkEikW9/r9kTZY8ENNO7Fw4lhFsZ0Aw9pjdMF+AvQkeRgoh8Rj8 m/WJGvPnWpAitcNO77mKWpFD6PvcIVEZWWB2LhSGoOQVO8hnjapExwFJvA+0XGi9v2En vlhU1fNm/zA8BAxCocIYouWvDbYkCikmImj5w2fqyscaZdm5MzxxjijcniLQA/3n7vk0 E7bqZiQxrYabXXjGxUVslwiSp7/BeoaNRxqr4aHMgYvgmdwa+qPZorEBM4g0tpEbXIsX PQ0jORN/mNT19BgKLTAAgsQ2czmJFkwE2xnPaRXJd52rOl32RY3iAuV++XMTAhlGzJB6 jsDw== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@linaro.org header.s=google header.b=ddO2zIGS; 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 m6si546897jav.15.2021.04.29.18.25.01 for (version=TLS1_2 cipher=ECDHE-ECDSA-CHACHA20-POLY1305 bits=256/256); Thu, 29 Apr 2021 18:25:01 -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=ddO2zIGS; 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]:52622 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1lcHtt-0002yn-0i for patch@linaro.org; Thu, 29 Apr 2021 21:25:01 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:34018) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lcHlM-00032F-IP for qemu-devel@nongnu.org; Thu, 29 Apr 2021 21:16:12 -0400 Received: from mail-pl1-x62f.google.com ([2607:f8b0:4864:20::62f]:37810) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1lcHl5-0007Xx-Cy for qemu-devel@nongnu.org; Thu, 29 Apr 2021 21:16:12 -0400 Received: by mail-pl1-x62f.google.com with SMTP id h20so35744321plr.4 for ; Thu, 29 Apr 2021 18:15:53 -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=vI0Nppr/jR9QkJKg+7QUG9KyH4vg0w2u1KFcbBuivD8=; b=ddO2zIGSTDY2L38kz6bmQjJ8II9lUr0kvFNDZifC2aw0jUrXzQ/6Q780qJWR8QspF8 2yiQx7fOkLU+4dsFMzZYurJ3ijeamgHooBJZ9PZwm1Zpsxg6Z1YKM4LuPo/iXRkgi3vu PPATHWPGi8Gnwj7eo1BadznYkD+es6urumz2AEx1LQzoRAj3+//2+QqnqVlvO+on6Vsb gxPUsTU9Bqg+HAiMMZy4jYiO+TS2BO8VyXizXKZeT6YGPGWf4ZvgYO2JZZDsCOZPjaEy 1msLtDMTKxQmxwa2PNm5Gf1tcqpL+fI1O1tOx7uA0L6OM3vhBZvFarn7K5z4FHM0R6fw wPJw== 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=vI0Nppr/jR9QkJKg+7QUG9KyH4vg0w2u1KFcbBuivD8=; b=QapqwenRi0ulzDIQ8C5fkb9FX7+A8l6dm6Bfz82kFgyDCMJFKwXci+Z7FKQvgR1+NW ueXM1MBSoJv2IPAP3EoByOES6jQOm6HFboWbrSFET6O9Wg4G8wB9/46kVseNq9FKuVzD 7SUJzQwArZig0IXLz8/W5CfOXKFCexMccNYqgjyHVWZh/qinSIO7m4ulhLooRPjXKkl/ 7rgnre367RWCboM5tBLoWlYOZcVgb2O52lViEcloVSjtVNBS06D7YD3HZ/sSmy1fSwDj dQF2tU3s6dZL7TSmb6SfEUV2Tr4vDt3r+vP4YjHK171QzImdem+MNhxwtXQnv4GpATFC lTuw== X-Gm-Message-State: AOAM533MaVYq5x0CJsw6v2ctSlruW6kD0sNfaY3ep/tZZYOTC7tRSpas ijbjkVdkPCX/yMmH0A1pR/JfRPylXA5wKw== X-Received: by 2002:a17:90b:4b12:: with SMTP id lx18mr2662667pjb.45.1619745353251; Thu, 29 Apr 2021 18:15:53 -0700 (PDT) Received: from localhost.localdomain ([71.212.144.24]) by smtp.gmail.com with ESMTPSA id 1sm161277pjx.46.2021.04.29.18.15.52 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 29 Apr 2021 18:15:53 -0700 (PDT) From: Richard Henderson To: qemu-devel@nongnu.org Subject: [PATCH v3 13/30] target/ppc: Remove unnecessary gen_io_end calls Date: Thu, 29 Apr 2021 18:15:26 -0700 Message-Id: <20210430011543.1017113-14-richard.henderson@linaro.org> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20210430011543.1017113-1-richard.henderson@linaro.org> References: <20210430011543.1017113-1-richard.henderson@linaro.org> MIME-Version: 1.0 Received-SPF: pass client-ip=2607:f8b0:4864:20::62f; envelope-from=richard.henderson@linaro.org; helo=mail-pl1-x62f.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=unavailable 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: f4bug@amsat.org, luis.pires@eldorado.org.br, qemu-ppc@nongnu.org, lagarcia@br.ibm.com, bruno.larsen@eldorado.org.br, matheus.ferst@eldorado.org.br, david@gibson.dropbear.id.au Errors-To: qemu-devel-bounces+patch=linaro.org@nongnu.org Sender: "Qemu-devel" Since ba3e7926691ed33, we switched the implementation of icount to always reset can_do_io at the start of the following TB. Most of them were removed in 9e9b10c64911, but some were missed. Signed-off-by: Richard Henderson --- target/ppc/translate_init.c.inc | 6 ------ 1 file changed, 6 deletions(-) -- 2.25.1 diff --git a/target/ppc/translate_init.c.inc b/target/ppc/translate_init.c.inc index c03a7c4f52..99e5f52925 100644 --- a/target/ppc/translate_init.c.inc +++ b/target/ppc/translate_init.c.inc @@ -213,7 +213,6 @@ static void spr_read_tbl(DisasContext *ctx, int gprn, int sprn) } gen_helper_load_tbl(cpu_gpr[gprn], cpu_env); if (tb_cflags(ctx->base.tb) & CF_USE_ICOUNT) { - gen_io_end(); gen_stop_exception(ctx); } } @@ -225,7 +224,6 @@ static void spr_read_tbu(DisasContext *ctx, int gprn, int sprn) } gen_helper_load_tbu(cpu_gpr[gprn], cpu_env); if (tb_cflags(ctx->base.tb) & CF_USE_ICOUNT) { - gen_io_end(); gen_stop_exception(ctx); } } @@ -250,7 +248,6 @@ static void spr_write_tbl(DisasContext *ctx, int sprn, int gprn) } gen_helper_store_tbl(cpu_env, cpu_gpr[gprn]); if (tb_cflags(ctx->base.tb) & CF_USE_ICOUNT) { - gen_io_end(); gen_stop_exception(ctx); } } @@ -262,7 +259,6 @@ static void spr_write_tbu(DisasContext *ctx, int sprn, int gprn) } gen_helper_store_tbu(cpu_env, cpu_gpr[gprn]); if (tb_cflags(ctx->base.tb) & CF_USE_ICOUNT) { - gen_io_end(); gen_stop_exception(ctx); } } @@ -311,7 +307,6 @@ static void spr_read_hdecr(DisasContext *ctx, int gprn, int sprn) } gen_helper_load_hdecr(cpu_gpr[gprn], cpu_env); if (tb_cflags(ctx->base.tb) & CF_USE_ICOUNT) { - gen_io_end(); gen_stop_exception(ctx); } } @@ -323,7 +318,6 @@ static void spr_write_hdecr(DisasContext *ctx, int sprn, int gprn) } gen_helper_store_hdecr(cpu_env, cpu_gpr[gprn]); if (tb_cflags(ctx->base.tb) & CF_USE_ICOUNT) { - gen_io_end(); gen_stop_exception(ctx); } }