From patchwork Wed May 12 18:54:15 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: 435635 Delivered-To: patch@linaro.org Received: by 2002:a02:c901:0:0:0:0:0 with SMTP id t1csp5107314jao; Wed, 12 May 2021 12:10:12 -0700 (PDT) X-Google-Smtp-Source: ABdhPJyIM1CvsvicOp9BRAMs7nBs6L77k8eHWkeXyCp24I5Ak8ILxYw42+hrzw5tOWwmwoYqqbaE X-Received: by 2002:a4a:b389:: with SMTP id p9mr28697929ooo.71.1620846612212; Wed, 12 May 2021 12:10:12 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1620846612; cv=none; d=google.com; s=arc-20160816; b=kRQ3V07+otXQ+QIh0zXBcSyjRk9wY7ICMoiyk7oEKq58bwnB/htRD/bARtmz68bhms 4uvugB9iQ8KPPAfm/xAx6inBJjJDgOFkZuwQYgYcoZmNARlz9+8yv/W+9U8/iDIQtGGP dSSW+ejrLocBX/0+snEyvQsDwtCnCatQhJl8UfXcRoX+wGlq8RDyG1Rl1T3/uqpa+43a AewUAO5z+VuzTgLHByZY/Kp5p5kHg/QvKkIFlH2IiWW58bpWPuU25vz2lzc9DBNWhKnc 6KIWMDAW/cqIyaqiSSixqzxQk9k6ZELBZa6uW1dZ3TCxLV11+cZ3BvhQ2lEj+1jjomdI jtlg== 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=GiNfguyFJct7daCfAqmAcmYXx/W/EP34F3PFLCxGu8g=; b=H/KjsNo4MpiaZRJiET4BvG9TQGfL32tIoZla1kULNpPXbdPmZ6HOgxb9QRgNAt6KWT fBA4Gj4VTPdm5gRgm0+rXUM+WcywbarnMal0B1h6xdt8RK5+yEqvvpOC9HF6O+PJZalt N6wGpy65w7gQQFW+ueC7zL0ZaG+LI9B0JDdvpDXLXNbpSdDHaKPUsqqWK6b3mtDsrY59 WZKABQ1svoPdYPb8RAgwzyNrG6HpKEmKJrVUwd8VtxI1aW6PlCyyKMj4J/95ILYYUNoN S9XKNlEj6p9Zddol79j/91vrS9oVYkaFE8C4L8EDZxpijnughKqdeEQcMm/2yzeXnf4S hZJA== 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 c9si931036ots.59.2021.05.12.12.10.12 for (version=TLS1_2 cipher=ECDHE-ECDSA-CHACHA20-POLY1305 bits=256/256); Wed, 12 May 2021 12:10:12 -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]:51436 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1lguFH-00017x-Ie for patch@linaro.org; Wed, 12 May 2021 15:10:11 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:53236) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lgu1q-0005WG-5u; Wed, 12 May 2021 14:56:18 -0400 Received: from [201.28.113.2] (port=32220 helo=outlook.eldorado.org.br) by eggs.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1lgu1o-0007c5-Jv; Wed, 12 May 2021 14:56:17 -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:00 -0300 Received: from eldorado.org.br (unknown [10.10.70.45]) by power9a (Postfix) with ESMTP id 8C72C80139F; Wed, 12 May 2021 15:56:00 -0300 (-03) From: matheus.ferst@eldorado.org.br To: qemu-devel@nongnu.org, qemu-ppc@nongnu.org Subject: [PATCH v4 05/31] target/ppc: Remove special case for POWERPC_EXCP_TRAP Date: Wed, 12 May 2021 15:54:15 -0300 Message-Id: <20210512185441.3619828-6-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:00.0890 (UTC) FILETIME=[73612DA0: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: 0 X-Spam_score: -0.1 X-Spam_bar: / X-Spam_report: (-0.1 / 5.0 requ) BAYES_00=-1.9, RDNS_NONE=0.793, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, TVD_SUBJ_WIPE_DEBT=1.004 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 Since POWERPC_EXCP_TRAP is raised by gen_exception_err, we will have also set DISAS_NORETURN. Signed-off-by: Richard Henderson Reviewed-by: Luis Pires Signed-off-by: Matheus Ferst --- target/ppc/translate.c | 1 - 1 file changed, 1 deletion(-) -- 2.25.1 diff --git a/target/ppc/translate.c b/target/ppc/translate.c index 2303bf259a..23de04a08e 100644 --- a/target/ppc/translate.c +++ b/target/ppc/translate.c @@ -9416,7 +9416,6 @@ static void ppc_tr_translate_insn(DisasContextBase *dcbase, CPUState *cs) /* Check trace mode exceptions */ if (unlikely(ctx->singlestep_enabled & CPU_SINGLE_STEP && (ctx->base.pc_next <= 0x100 || ctx->base.pc_next > 0xF00) && - ctx->exception != POWERPC_EXCP_TRAP && ctx->exception != POWERPC_EXCP_BRANCH && ctx->base.is_jmp != DISAS_NORETURN)) { uint32_t excp = gen_prep_dbgex(ctx);