From patchwork Wed May 12 18:54:14 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: 435643 Delivered-To: patch@linaro.org Received: by 2002:a02:c901:0:0:0:0:0 with SMTP id t1csp5110501jao; Wed, 12 May 2021 12:14:23 -0700 (PDT) X-Google-Smtp-Source: ABdhPJwJhlP0hFTgXfmGQBy0vkkCYczkd3wxd0vAFCz8O9MK3MCRRf9vri1ojrMCWvTVnD6CdhuA X-Received: by 2002:a05:6e02:1002:: with SMTP id n2mr30787164ilj.260.1620846863475; Wed, 12 May 2021 12:14:23 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1620846863; cv=none; d=google.com; s=arc-20160816; b=j+bsSathze638NrD6XVfqhCcxh2v40L5vQCNyc772I1i7BLG/XBuKZ9xfMKXt8ZjNl ifG8amj1a58+EMx9v21bvxbqI9UfKUrpMguxJjYwy9ZKNidm/Mf7gww2jYHYoMlWFJDQ oR+e79mG/N/6pDa0jPFIfm9olj5OIJPr8aCLq4lLHpM/4AtpvawMSsvQxFuA7XXeBich PczAomG7Xq8ZpjgHLuP9uN1bAMhsoSy0H6Au6A3COQmgtqviHUporDvtTZf/lCjyCYh9 MtXjycBku4oodqmCUD/F8x9b2fr7MAuo+oqt3KkS7NV+b2wIWZIJYWo9Q0tjcSgaQmma oijg== 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=nTAuHVkEqR8HsWV3ARNxNN9KEjOLS4U0KvdHcrPlyWY=; b=suLJKjggW8qLQPMCT0McLRQ19GIkIq5uZ8e9d8irCBmVHpZjkImFWqT8Qb2SIQnr4U NrWSaspgy15gTPCuSyEU7ZfNNhstHVJn8DPCsRSmkJUAFlNZbpJbX/G3mtuk7RfItfTE rtNePVVmJLoi/bBhBKgIyhGOmNGFzeSrqqZ3pseSRvTJYxVG4JsqYZnds1TxCEnBQ6sY yytTXwbGo7RLkjmbOqByHmh9l60a0UJgTMjFhNJkvAqOD7PhsivNYxG3ItSm+G6Pals7 teh8g00S/fHXdwilgX4Ix8MnphfFqOTRA4r/o2wrJbkU2TkL0ONTIOfxbhfz3ua8FnqN VChA== 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 l9si811952ios.0.2021.05.12.12.14.23 for (version=TLS1_2 cipher=ECDHE-ECDSA-CHACHA20-POLY1305 bits=256/256); Wed, 12 May 2021 12:14:23 -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]:33302 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1lguJK-00081o-Mq for patch@linaro.org; Wed, 12 May 2021 15:14:22 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:53296) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lgu1t-0005d3-9U; Wed, 12 May 2021 14:56:21 -0400 Received: from [201.28.113.2] (port=20812 helo=outlook.eldorado.org.br) by eggs.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1lgu1r-0007uU-RD; Wed, 12 May 2021 14:56:21 -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 3F9898000C2; 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 04/31] target/ppc: Remove special case for POWERPC_SYSCALL Date: Wed, 12 May 2021 15:54:14 -0300 Message-Id: <20210512185441.3619828-5-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.0593 (UTC) FILETIME=[7333DC10: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_SYSCALL 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 616ffc1508..2303bf259a 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_SYSCALL && ctx->exception != POWERPC_EXCP_TRAP && ctx->exception != POWERPC_EXCP_BRANCH && ctx->base.is_jmp != DISAS_NORETURN)) {