From patchwork Wed May 19 12:51:32 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: David Gibson X-Patchwork-Id: 442408 Delivered-To: patch@linaro.org Received: by 2002:a02:7a1b:0:0:0:0:0 with SMTP id a27csp1308366jac; Wed, 19 May 2021 06:12:25 -0700 (PDT) X-Google-Smtp-Source: ABdhPJwkCv4ZL7dY/Kq3e5OM4jaTSGafoJXgtq80bm1JZkLGMAU7Z0CGf6CXIXuIOFDu6oSB6qEY X-Received: by 2002:a05:6602:242b:: with SMTP id g11mr9498340iob.105.1621429945743; Wed, 19 May 2021 06:12:25 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1621429945; cv=none; d=google.com; s=arc-20160816; b=VD20x3fuRM5mH/dwXLHBKdHoTVAJxeKusJldS/aQZcqbVR+WxZxHRGm9rOHH1b3kuk M7MdisKeL5puqOpepCflPi2J9lHHggL3gUTrPztZJx59X06Fmo1zDMkBpmXoTVv2eY2n +QtxZmfgdoS0rZwzE+Rg6A544KW7upTY76MWK449heM++KohkwiMw/0uRZ5ZTYPJOfh0 PMU5+oEeEBvXeQLwTbbqnPY4EV9H/LN1jsBeU+O7HEcT7bXwq5lXRncsI59ehqJnypdZ JTgJmcJ9XOtbXrYxwUPHKAGeAydhFtrSz73MJ8nL5i9yCFEtMysym++6Z7gNsFerZJlK CZ4g== 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=xoEvQdsuX+SKoRnA/rYniCt4m3dBtQVMdcdTTOpqmB4=; b=f3GBejs4kJnRPk/98AypaPpfReoYBwbRxZ23Fu7jnrVzhRCfqDqQMivUjDaU3CAgnQ pJICvr2sWcHUSYRJLbyxCr8KvZ//XZYZ/AeOQjWq/2qYyYFN5RziR2oMgBrnLkf1djui 9U9bRMpVk7s27ak+2HvQPIZ+bCfZw5zNvOZ2n+7q3nIZoV36rEsPUQiPG5/edSCqFnaL RsGZPvZVmuKOQFe8V5SA2fId1GHKRdKlrhuEcBeXcDlq92lfjs8zOnZgrSd331lkYkZa 1ZCxVdUilDT83o9gU1KQJnH4rJQZIqCpVNejo4I/+y4S1Y70JwGwDSjC/3rSgjLj4DHS KJFQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@gibson.dropbear.id.au header.s=201602 header.b=gDO8iDTb; 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" Return-Path: Received: from lists.gnu.org (lists.gnu.org. [209.51.188.17]) by mx.google.com with ESMTPS id s8si26495995ilt.116.2021.05.19.06.12.25 for (version=TLS1_2 cipher=ECDHE-ECDSA-CHACHA20-POLY1305 bits=256/256); Wed, 19 May 2021 06:12:25 -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=@gibson.dropbear.id.au header.s=201602 header.b=gDO8iDTb; 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" Received: from localhost ([::1]:56530 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1ljLzt-00075T-8A for patch@linaro.org; Wed, 19 May 2021 09:12:25 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:33528) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1ljLhL-0001ZM-VY; Wed, 19 May 2021 08:53:15 -0400 Received: from ozlabs.org ([203.11.71.1]:48587) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1ljLhJ-0001Md-B8; Wed, 19 May 2021 08:53:15 -0400 Received: by ozlabs.org (Postfix, from userid 1007) id 4FlXnl0kzQz9t2p; Wed, 19 May 2021 22:52:11 +1000 (AEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=gibson.dropbear.id.au; s=201602; t=1621428731; bh=divziH9AFXDw7ex4etOicidfNW5m4/0DV5hb25t7Qus=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=gDO8iDTb0BQggLrNMQFboFEMBR6KxxP3VaQH9mBJOZrl2al1HINGj6DHTSESdFux/ MldjbpDK8fgolUKYnVVUrfmg5V204/9bPkADUAtjoCBdhhpsiksZ0o1M895fhI2mVu iAfpo+5METdOvVWs2IuXC7s3/Hhp0YrEKebqdCQU= From: David Gibson To: peter.maydell@linaro.org, groug@kaod.org Subject: [PULL 32/48] target/ppc: Use translator_loop_temp_check Date: Wed, 19 May 2021 22:51:32 +1000 Message-Id: <20210519125148.27720-33-david@gibson.dropbear.id.au> X-Mailer: git-send-email 2.31.1 In-Reply-To: <20210519125148.27720-1-david@gibson.dropbear.id.au> References: <20210519125148.27720-1-david@gibson.dropbear.id.au> MIME-Version: 1.0 Received-SPF: pass client-ip=203.11.71.1; envelope-from=dgibson@ozlabs.org; helo=ozlabs.org X-Spam_score_int: -17 X-Spam_score: -1.8 X-Spam_bar: - X-Spam_report: (-1.8 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, HEADER_FROM_DIFFERENT_DOMAINS=0.25, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001 autolearn=no 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: richard.henderson@linaro.org, qemu-devel@nongnu.org, qemu-ppc@nongnu.org, Bruno Larsen , Matheus Ferst , David Gibson Errors-To: qemu-devel-bounces+patch=linaro.org@nongnu.org Sender: "Qemu-devel" From: Richard Henderson The special logging is unnecessary. It will have been done immediately before in the log file. Signed-off-by: Richard Henderson Signed-off-by: Matheus Ferst Reviewed-by: Bruno Larsen (billionai) Message-Id: <20210517205025.3777947-9-matheus.ferst@eldorado.org.br> Signed-off-by: David Gibson --- target/ppc/translate.c | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) -- 2.31.1 diff --git a/target/ppc/translate.c b/target/ppc/translate.c index e68152810e..ea200f9637 100644 --- a/target/ppc/translate.c +++ b/target/ppc/translate.c @@ -9091,11 +9091,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)