From patchwork Fri Apr 30 01:15:34 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Richard Henderson X-Patchwork-Id: 429748 Delivered-To: patch@linaro.org Received: by 2002:a02:c901:0:0:0:0:0 with SMTP id t1csp2115885jao; Thu, 29 Apr 2021 18:39:08 -0700 (PDT) X-Google-Smtp-Source: ABdhPJwT/1ccheJnz5zspid4Js3pvhQbYmRIhtnM5McAGVe7Azi+9KPJG6HXh0c92NRSvM7tQZRM X-Received: by 2002:a05:6e02:13ca:: with SMTP id v10mr1980004ilj.191.1619746748253; Thu, 29 Apr 2021 18:39:08 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1619746748; cv=none; d=google.com; s=arc-20160816; b=R6rD/3+IgaDYlfeWMEoBE9QO+B5cIR+AXFwQA3PuinQBM5nnXRAMRSVKGQb0t0+ThS JZh4BD2MLc71lRZD4YW6Bsb9v4CLbg8Lxx4MDQifQucZUwtd2YP9oD0/Fw3M9C/HxjBo 3Ukh/qPetU5jS/dYPRGJuZ+bfZWNJIo3dmWeP1kSjiBAxf+fRmV/ZgxVX0jGk+BSek2N sgIC/YFVWNStB4fjFrbl5pHrEcsv0eLUaGMWhfeweDT4+asAgKOYBAXoWKS8FJqwdYa3 30QLaJA/0VlVC+KHjrf4UPKkIBgjsJM16FIhyR4traEQuzPqa1VzFxQbEswQe9E/YNW0 VSKA== 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=I+1Opv8OfoIKa40K956dLubZo7qmKRPssU+1heK4KSo=; b=rz5mnjR6Y8+Q7V84yDlvtSIlmJKIEABSmYySrbk3IwTWxe9mf3nxvewMUfiH2em38l myutwGCPbG5op2YAHdh6xGg5erXzlu+IODPG/NGp3xKOCQYE3zZmd38PAZ7NyCsGeCV4 YsLNZ/Xjom59v4E/+AJEF+km5h/OUpoFR+vc2z435dk03mjL7gY2dbSWpfwF3NLBjTkP 7MFU7dQRbSvvLNGQ/Ov/M8L4ZbfSUW96fA7kHgRy+xsaTaCnon2dXsCbqKCzWejeFWlI PK6aBHLEXi2oCsb+md7dSF/rgU8hpaU9qM/zrvE4tE5xxP1SIswtS164grC8zXucIptU +c1A== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@linaro.org header.s=google header.b=ACISNkjS; 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 w26si482195jao.65.2021.04.29.18.39.08 for (version=TLS1_2 cipher=ECDHE-ECDSA-CHACHA20-POLY1305 bits=256/256); Thu, 29 Apr 2021 18:39:08 -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=ACISNkjS; 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]:37798 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1lcI7X-0003O1-MN for patch@linaro.org; Thu, 29 Apr 2021 21:39:07 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:34236) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lcHlY-0003KI-Ox for qemu-devel@nongnu.org; Thu, 29 Apr 2021 21:16:24 -0400 Received: from mail-pf1-x42b.google.com ([2607:f8b0:4864:20::42b]:46624) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1lcHlB-0007aT-34 for qemu-devel@nongnu.org; Thu, 29 Apr 2021 21:16:24 -0400 Received: by mail-pf1-x42b.google.com with SMTP id d124so4591864pfa.13 for ; Thu, 29 Apr 2021 18:15:59 -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=I+1Opv8OfoIKa40K956dLubZo7qmKRPssU+1heK4KSo=; b=ACISNkjSh6DG/vXolUzRnsbNX+Gc8xHTOqLS+Jy5YEkrCzXnUPg33hnJpXh/HYcSEO ql0HrD8C5ebkRW+EJKklMB88hPvEEKiGbWdUnocp7ngaq/bx55lGD8qB1SJLp3dN7kp5 /l5rYtxs+tO0Yg4G0glG8YVlNctb2U3UjsBJnUW+mBByz86AKC79RUhQsTMZBl7rELvu GbXG0I6U6qXIbPl0eXRrtXAOVQEaFIsATkm41iyjMZswlId5XHbbsgWV8ERb6jPhc8FY 69VhtkvVLcPfvexMEJEdu8HnHoszU5X5ZGUcKT9Mqly4Qer8y1JPcKa6gSLXMiP7V77S TLVg== 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=I+1Opv8OfoIKa40K956dLubZo7qmKRPssU+1heK4KSo=; b=NBlUqOQ3n4I3QkzOL4O8yVuLG+621D/efjeHZYPUc5/ZMk1M2cAVWSObDOFo14RFe+ TxE5YJNVbzQDKAfGEYu4RggGqt2HyTJVWNLQ7Z/S5gJIbVIH7ZPKdcoYDuDL23uB9WAN ieVl2JhDitU3ymTp9D5z+lyW6LESHGl3wQgzXA5Y+8/pFhQtNoK+nettITmwc6LbKsKr pxmjcekeAUszHt6NjMs2m/3ZKkB0hkaYe7p1Fhug4I8ClsXPZh6jejlHKMXL+iwazprb UQSNehh81RjiEb3OM1D8A8+kPOhDXQ7FHDwUagWy9zNRqjQSiKs/ttAN3eDYQX/39h4R DpNw== X-Gm-Message-State: AOAM532AskvF6uT1s/UFmr4MGaGxajjnTlTz0MskrEXTLLTTKg1Mm4Ic O7HdNDpOEz3+/VIMDBZDbeyYwBfq/NAcTg== X-Received: by 2002:a63:4c4b:: with SMTP id m11mr2282201pgl.245.1619745358792; Thu, 29 Apr 2021 18:15:58 -0700 (PDT) Received: from localhost.localdomain ([71.212.144.24]) by smtp.gmail.com with ESMTPSA id 1sm161277pjx.46.2021.04.29.18.15.58 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 29 Apr 2021 18:15:58 -0700 (PDT) From: Richard Henderson To: qemu-devel@nongnu.org Subject: [PATCH v3 21/30] target/ppc: Use translator_loop_temp_check Date: Thu, 29 Apr 2021 18:15:34 -0700 Message-Id: <20210430011543.1017113-22-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::42b; envelope-from=richard.henderson@linaro.org; helo=mail-pf1-x42b.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" The special logging is unnecessary. It will have been done immediately before in the log file. Signed-off-by: Richard Henderson --- target/ppc/translate.c | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) -- 2.25.1 diff --git a/target/ppc/translate.c b/target/ppc/translate.c index fe3982e289..112afd02d5 100644 --- a/target/ppc/translate.c +++ b/target/ppc/translate.c @@ -8046,11 +8046,7 @@ static void ppc_tr_translate_insn(DisasContextBase *dcbase, CPUState *cs) handler->count++; #endif - if (tcg_check_temp_count()) { - qemu_log("Opcode %02x %02x %02x %02x (%08x) leaked " - "temporaries\n", opc1(ctx->opcode), opc2(ctx->opcode), - opc3(ctx->opcode), opc4(ctx->opcode), ctx->opcode); - } + translator_loop_temp_check(&ctx->base); } static void ppc_tr_tb_stop(DisasContextBase *dcbase, CPUState *cs)