From patchwork Wed May 12 18:54:27 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: 435644 Delivered-To: patch@linaro.org Received: by 2002:a02:c901:0:0:0:0:0 with SMTP id t1csp5111894jao; Wed, 12 May 2021 12:16:29 -0700 (PDT) X-Google-Smtp-Source: ABdhPJxYP0+uRSDqsLkHggfPRcECU79rz8t5RzajmM/2ty2QlvVja8+NElKcLdFBG2IcJl72YiLq X-Received: by 2002:aca:d6d5:: with SMTP id n204mr21318708oig.169.1620846989432; Wed, 12 May 2021 12:16:29 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1620846989; cv=none; d=google.com; s=arc-20160816; b=tPVFQCv0vOjdKIJ9Ezh5qfZKYRBC/KWV8sWtMHpZ6xT+bof+jtOktzcTcA1HRrLOse ln5jUsADdW/0I+sGLOa15vXXG3G5u/tBMLc0Gp/136VR2QI8r7Q9upcSsUNpehozYdJ+ bGGUMfFiivzdYuRQClViAv0SCw8F0ZTTrFMK9ln0I5RN9EI+nMHr6f1Iv+1cKUfB6W0J D5GB/qyRVFGELESL0o0qNJ9DXtgw4I6bbAkWu5e4wxqOAycyobzaWcpcjgRuCdZf0ViV L9bcwyQ7WPatrFiyEiVJM0GKsjU3xqZAiaPg+oOhRm1/yTXgewx4qqJJoRqkRyENYGdk qjaQ== 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=BotXmwZLvasjNJun3pgxSVDZZlcDEsTqKnzGkmz1Sno=; b=VVyjafLoucFMwNE8Lvkb0EpeJERFC4x8MB1q9rsiI6S3Scjd3AMkih/EWtBwP66Rl8 rvFOvhrrBt3BEEAPDtzG7J2WQ3aFdH00EKbRXZyP5OTEOi35a6+e2r3AQCIjKoTSyL1Q KwTMuPliDj73hS+EEpGtL/xfwWVxoJRYf4H7LbkhU3pGoUjoRIUJoSY9Wlj3OiimYzs7 3fK533HIs1+WxK6dmVjBE88pd9CvOtggoQ/i+NDdpMloiXAIWCCFFeGl1KvKQqBBrQap OtyrXTGOQmEoLx1xjAoV9qwB27WDORzpcI/Alvreo1MccrfKCZUjAjHCufiMAurOxvKA nj+Q== 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 b2si772093otf.293.2021.05.12.12.16.29 for (version=TLS1_2 cipher=ECDHE-ECDSA-CHACHA20-POLY1305 bits=256/256); Wed, 12 May 2021 12:16:29 -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]:40360 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1lguLL-0004MG-4g for patch@linaro.org; Wed, 12 May 2021 15:16:27 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:53880) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lgu3o-0000FS-HT; Wed, 12 May 2021 14:58:24 -0400 Received: from [201.28.113.2] (port=47887 helo=outlook.eldorado.org.br) by eggs.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1lgu3l-0000ms-3o; Wed, 12 May 2021 14:58:19 -0400 Received: from power9a ([10.10.71.235]) by outlook.eldorado.org.br with Microsoft SMTPSVC(8.5.9600.16384); Wed, 12 May 2021 15:56:04 -0300 Received: from eldorado.org.br (unknown [10.10.70.45]) by power9a (Postfix) with ESMTP id 74E2780139F; Wed, 12 May 2021 15:56:04 -0300 (-03) From: matheus.ferst@eldorado.org.br To: qemu-devel@nongnu.org, qemu-ppc@nongnu.org Subject: [PATCH v4 17/31] target/ppc: Use translator_loop_temp_check Date: Wed, 12 May 2021 15:54:27 -0300 Message-Id: <20210512185441.3619828-18-matheus.ferst@eldorado.org.br> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20210512185441.3619828-1-matheus.ferst@eldorado.org.br> References: <20210512185441.3619828-1-matheus.ferst@eldorado.org.br> MIME-Version: 1.0 X-OriginalArrivalTime: 12 May 2021 18:56:04.0844 (UTC) FILETIME=[75BC82C0:01D74760] 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 --- target/ppc/translate.c | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) -- 2.25.1 Reviewed-by: Bruno Larsen (billionai) Signed-off-by: Richard Henderson <richard.henderson@linaro.org> Signed-off-by: Matheus Ferst <matheus.ferst@eldorado.org.br> diff --git a/target/ppc/translate.c b/target/ppc/translate.c index 9912686496..cd4b34aa91 100644 --- a/target/ppc/translate.c +++ b/target/ppc/translate.c @@ -9282,11 +9282,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)