From patchwork Mon May 17 20:50:10 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: "Matheus K. Ferst" X-Patchwork-Id: 440230 Delivered-To: patch@linaro.org Received: by 2002:a02:7a1b:0:0:0:0:0 with SMTP id a27csp1436197jac; Mon, 17 May 2021 13:58:18 -0700 (PDT) X-Google-Smtp-Source: ABdhPJzQ5s94HXCeCRPDfhd1ifLGsEk8NTs6NFXTr7TocCqyMr+/1BcMzOVclTE0VCPQrerxQX4F X-Received: by 2002:a05:6638:2728:: with SMTP id m40mr1893433jav.55.1621285097953; Mon, 17 May 2021 13:58:17 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1621285097; cv=none; d=google.com; s=arc-20160816; b=vnA3+DsAXGj64//iM9RKLQaeabR7I31qYocSNiVgdVhJc6Lypn4ND1LPc3pcQ9omAA WyCBizsv9LbSEkfDAcWMYyDB8Fas+MfgDOq9H12pzKWFYQWCNRNseDAC+Q+0guYvxvgo 8PUUKIVrthsFY6+vEL6ylblgbrc/ZirGf9HcsW8MNBqbjQem6zrAydHPKfqE4p5UhIuW aNPmCzXs2NmTEjvnYP7uke/pnWdYRfKPb04jm457UCiakm8rsRT8kBQdBQv9GvRBoMbP +PRopkwFhk2YTfKSzTl83lXGE9pRtfM4aXHXAY+fOzsccEl1xNyvmPY1kNpRNdwEK7Ve WiQA== 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; bh=i0/8yE6RR/u4q7xmgfTfBmLk+atFAo1ISckPJh/pDq8=; b=lw65kxZkjtMHWdCbYd/OfkjbBciw4uUYQBed0BAEtRHSuMQdaZW8W8gHWtKjI+9xjM uRk6id0yLuoHbPcPqGexKy6XxU7B01G0WBlvaqlp2mdaJwzlODvN/VoYeZUNAZWDYCia OUtWy8G31zV18REuFYlxvk5t2JX6OUdDb7F/2WMmIzeHqg5RrI2I9j67qFIVE8XjBaKE KdFZBCvOSflWovH+bLXE1jABP1vjUDVN/JOqka1UJ7RgmbzKV+fhffPthGN3WMM07vJu Cdsm5CLizMGTOC/IVNN5TEZ/+CNAdBZcJBiWPqEvEOK2YBclJR8wmycyWOVuIYqezb7L xMyg== ARC-Authentication-Results: i=1; mx.google.com; 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 g6si20936099jat.77.2021.05.17.13.58.17 for (version=TLS1_2 cipher=ECDHE-ECDSA-CHACHA20-POLY1305 bits=256/256); Mon, 17 May 2021 13:58:17 -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; 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]:59612 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1likJd-00070a-Cp for patch@linaro.org; Mon, 17 May 2021 16:58:17 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:45874) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1likDm-0004eT-KL; Mon, 17 May 2021 16:52:14 -0400 Received: from [201.28.113.2] (port=12648 helo=outlook.eldorado.org.br) by eggs.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1likDl-00013X-5R; Mon, 17 May 2021 16:52:14 -0400 Received: from power9a ([10.10.71.235]) by outlook.eldorado.org.br with Microsoft SMTPSVC(8.5.9600.16384); Mon, 17 May 2021 17:50:31 -0300 Received: from eldorado.org.br (unknown [10.10.70.45]) by power9a (Postfix) with ESMTP id E74D280139F; Mon, 17 May 2021 17:50:30 -0300 (-03) From: matheus.ferst@eldorado.org.br To: qemu-devel@nongnu.org, qemu-ppc@nongnu.org Subject: [PATCH v5 08/23] target/ppc: Use translator_loop_temp_check Date: Mon, 17 May 2021 17:50:10 -0300 Message-Id: <20210517205025.3777947-9-matheus.ferst@eldorado.org.br> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20210517205025.3777947-1-matheus.ferst@eldorado.org.br> References: <20210517205025.3777947-1-matheus.ferst@eldorado.org.br> MIME-Version: 1.0 X-OriginalArrivalTime: 17 May 2021 20:50:31.0409 (UTC) FILETIME=[4697EE10:01D74B5E] X-Host-Lookup-Failed: Reverse DNS lookup failed for 201.28.113.2 (failed) Received-SPF: pass client-ip=201.28.113.2; envelope-from=matheus.ferst@eldorado.org.br; helo=outlook.eldorado.org.br X-Spam_score_int: -10 X-Spam_score: -1.1 X-Spam_bar: - X-Spam_report: (-1.1 / 5.0 requ) BAYES_00=-1.9, RDNS_NONE=0.793, SPF_HELO_NONE=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, f4bug@amsat.org, luis.pires@eldorado.org.br, 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" 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) --- 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 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)