From patchwork Mon Mar 6 00:39:27 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Richard Henderson X-Patchwork-Id: 659163 Delivered-To: patch@linaro.org Received: by 2002:adf:a3c6:0:0:0:0:0 with SMTP id m6csp1573450wrb; Sun, 5 Mar 2023 16:45:09 -0800 (PST) X-Google-Smtp-Source: AK7set/6MYHXiFKj9zomB6DFpXnFHulLRtUghB/bnrl6eHF9hZqE6DZRkZbT90IjpAwXK0Q+3qGZ X-Received: by 2002:ac8:5acc:0:b0:3bf:dbb4:3bcc with SMTP id d12-20020ac85acc000000b003bfdbb43bccmr15449359qtd.4.1678063508994; Sun, 05 Mar 2023 16:45:08 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1678063508; cv=none; d=google.com; s=arc-20160816; b=wnU7pe6RtYjxKi2txIkb3w++L7Q1uZlbvPQPyXiAcjYNSNjkZAy8TB6mVYioDw4Xyj PGgrrjhjd4ZE6dnGCiE4eJBdb2N9RG8wBdQieKBj4SSr4gw47igrJ7Z9AOECFacqXQ/k Lf1B+73lfbZRvTNuFy5KZJQFB0w4Ne2wY2xxQELOWKFRMwXgnH8Dq48N/ML9+q9RM9lm CSTUXbghDxvLLqn+HXAaX+KYYgeqVadSD1lyDP4ExcFvU3T5Q0rm5kfKe9Mlk2jUG/HE XSNnNWhIr1l4fhRHD+V/kl5P3qAkUNxhRSo1ZHWqQD8NaFzKx+TRm5OueenIktaU32W6 yRwQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=sender:errors-to: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:cc:to :from:dkim-signature; bh=X9KIPxCrunV2S78W8FPPVPGXh4a3tckfVvKKq9miWb8=; b=IX9X/u/fJxKqg/Fee5/52FRDhGUfJNzB0ALPT7PcF51rMLO8y5w/giU8MahrLyTD+M Rp4H7w8t7x6Alko5QklZx7StxYbawKIceQzxBrhLJlxIK2y8tO/pAL82LJMyITRVM6LN 1bph4PF3BNusqyBhcwXep5nHtE0EIvWVZPIAWVmTjB3PPtw644fxmIJfqGmit/cH4zgn pj0uQ+0cV97ZHfm4BDoHR4iglsbCJCJ6jOwdtDfsa0B+3mYNL+4Aa4hjVt18oqg7fwTf /5aFk/+6N5dxJgSdTSQ1OVygL7d2UXaaU36klXqcehcW+qAzy8U5WHSPOen6ch5nRN9Q 6+7g== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=RQY5pofE; 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"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from lists.gnu.org (lists.gnu.org. [209.51.188.17]) by mx.google.com with ESMTPS id d17-20020a05622a15d100b003bd0eaf04d8si6534847qty.567.2023.03.05.16.45.08 for (version=TLS1_2 cipher=ECDHE-ECDSA-CHACHA20-POLY1305 bits=256/256); Sun, 05 Mar 2023 16:45:08 -0800 (PST) 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=pass header.i=@linaro.org header.s=google header.b=RQY5pofE; 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"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1pYyxb-0002L0-RI; Sun, 05 Mar 2023 19:44:16 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1pYyxC-00011G-Oq for qemu-devel@nongnu.org; Sun, 05 Mar 2023 19:43:55 -0500 Received: from mail-pf1-x42c.google.com ([2607:f8b0:4864:20::42c]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1pYyxB-0007Hy-5w for qemu-devel@nongnu.org; Sun, 05 Mar 2023 19:43:50 -0500 Received: by mail-pf1-x42c.google.com with SMTP id fa28so4695015pfb.12 for ; Sun, 05 Mar 2023 16:43:48 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1678063427; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=X9KIPxCrunV2S78W8FPPVPGXh4a3tckfVvKKq9miWb8=; b=RQY5pofEM22Yc7mndrBU7wCuMCPV+DdnfJ2av5OErf+/2KDvgbqSKZDxd5Na7HbEP6 wJDr+aRuy6d3kys2Yk0xpnuQVPW6yJTVxoTIagflUfi4ngX4QGsEwV88gHjwbfKmPozC skstaecFnJAi0pBsVVzCJ6qWCIF1yJT2EujOfPt/HkHsEGEVw+L5MBD/Tjm3kP50MXCW iSF8ov2QZFg3gXWHHY/4imMWJh64adgxMsvC4ncD7gwgtggz2+8TlkeEb5QjEzgRRty1 1joJeaTussy7oQ0lb+PSWfPDmWdwIqzGbwFbJrYtfzJHNUNwMKUtZj+rrpgz9QLpAcJn w4uA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; t=1678063427; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=X9KIPxCrunV2S78W8FPPVPGXh4a3tckfVvKKq9miWb8=; b=mYj1yoiisXkOeK0s+foRw1bVTSxDvykrjo1W2exP8meDpOItCiootGfwActjOQLwre 1CbdQOnk3G1dR04DbSk/g5yQ1y2mhrVPNrPjh1bKd6M2PqjJvYaAwJDtgNoxdGvSyjye TZMagvtdtPd0YxB8dszD3oWcWgrMb2zxKzdCMBwItLGY9dKVTFWHpetfH4iNWtWvyUe8 PTVCt6dVdBvVqRD1+16Kimh+7yPDBWu3h9rkjHAoNCupkVjb0DiEing04LLI1HlLsxhW jB3Vz/FLcDW9KhHOC510NMjHYs+I693VSkJ5Ztx++mWTsGwT1qJt1eRRdrp3lNrRvY3B Z2eg== X-Gm-Message-State: AO0yUKUaN1buk54Nt/VfAxGxH42iY2oLlwdm4gmL7ZB2O8fGlla0JDKj tEGhVbaTasWdHTwCtvkT6haHi1ZRgNe8zpZKU/GaBg== X-Received: by 2002:a62:7905:0:b0:5a9:c75f:bcc4 with SMTP id u5-20020a627905000000b005a9c75fbcc4mr10928901pfc.25.1678063427182; Sun, 05 Mar 2023 16:43:47 -0800 (PST) Received: from stoup.. ([2602:ae:154a:9f01:87cc:49bb:2900:c08b]) by smtp.gmail.com with ESMTPSA id x52-20020a056a000bf400b005895f9657ebsm5045726pfu.70.2023.03.05.16.43.46 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 05 Mar 2023 16:43:46 -0800 (PST) From: Richard Henderson To: qemu-devel@nongnu.org Cc: peter.maydell@linaro.org, Mark Cave-Ayland Subject: [PULL 57/84] target/sparc: Remove egress label in disas_sparc_context Date: Sun, 5 Mar 2023 16:39:27 -0800 Message-Id: <20230306003954.1866998-58-richard.henderson@linaro.org> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20230306003954.1866998-1-richard.henderson@linaro.org> References: <20230306003954.1866998-1-richard.henderson@linaro.org> MIME-Version: 1.0 Received-SPF: pass client-ip=2607:f8b0:4864:20::42c; envelope-from=richard.henderson@linaro.org; helo=mail-pf1-x42c.google.com X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: qemu-devel@nongnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: qemu-devel-bounces+patch=linaro.org@nongnu.org Sender: qemu-devel-bounces+patch=linaro.org@nongnu.org Reviewed-by: Peter Maydell Acked-by: Mark Cave-Ayland Signed-off-by: Richard Henderson --- target/sparc/translate.c | 15 +++++++-------- 1 file changed, 7 insertions(+), 8 deletions(-) diff --git a/target/sparc/translate.c b/target/sparc/translate.c index a20426202e..560fb32e28 100644 --- a/target/sparc/translate.c +++ b/target/sparc/translate.c @@ -5727,32 +5727,31 @@ static void disas_sparc_insn(DisasContext * dc, unsigned int insn) dc->npc = dc->npc + 4; } jmp_insn: - goto egress; + return; illegal_insn: gen_exception(dc, TT_ILL_INSN); - goto egress; + return; unimp_flush: gen_exception(dc, TT_UNIMP_FLUSH); - goto egress; + return; #if !defined(CONFIG_USER_ONLY) priv_insn: gen_exception(dc, TT_PRIV_INSN); - goto egress; + return; #endif nfpu_insn: gen_op_fpexception_im(dc, FSR_FTT_UNIMPFPOP); - goto egress; + return; #if !defined(CONFIG_USER_ONLY) && !defined(TARGET_SPARC64) nfq_insn: gen_op_fpexception_im(dc, FSR_FTT_SEQ_ERROR); - goto egress; + return; #endif #ifndef TARGET_SPARC64 ncp_insn: gen_exception(dc, TT_NCP_INSN); - goto egress; + return; #endif - egress: } static void sparc_tr_init_disas_context(DisasContextBase *dcbase, CPUState *cs)