From patchwork Mon Feb 27 05:24:56 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Richard Henderson X-Patchwork-Id: 656845 Delivered-To: patch@linaro.org Received: by 2002:adf:a3c6:0:0:0:0:0 with SMTP id m6csp2184330wrb; Sun, 26 Feb 2023 21:49:36 -0800 (PST) X-Google-Smtp-Source: AK7set/K2q4l/u8BOfIszXxLRQdANPhyYvmt7glp9nT9ZzTiVzfMaeC8r9Dl665nyWTZReBwupR2 X-Received: by 2002:ac8:5d8f:0:b0:3bf:d87d:4948 with SMTP id d15-20020ac85d8f000000b003bfd87d4948mr5452391qtx.14.1677476976198; Sun, 26 Feb 2023 21:49:36 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1677476976; cv=none; d=google.com; s=arc-20160816; b=k7Z2F+3g3R9rlanNWXI676o/ZUoZ6Or+FiFRJ8S6g95j5fsgQ4vuVz30IOY2epzT9M 5yc7D0+6aTh6jm8EOH9ho9edMBB8Jcubv3LXAG1HGfwFfgzyenedGvpctAm1ohJvYcJ1 //0p0csIyWzDGuDaIEbBQ7vMvH1BfZIrFav4pbapNeuTIsFUtT7XEsZC428sFrGgcqdB NL6QLFi17pgS1auYisQr7qVADtHZnAqKqAQDf5Mmhmc2VnQEUYo0jjB/jXBw5Nbd1hW+ SvIlVnL1oDYGZjD7nyElcLqiOvV6l1YkU5IbEVg0PcNcqbjpPoALFgcNvJSt8bHhW8gX vgMg== 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=cc505buS8ZqTwJy0cVRT4/uSaARbJr2+/eIoFYK/Stw=; b=jO0gvpxRuZCOWDTFKEZGWF0vmLKrvS+6Ibx+XGEEStrpfm+irxSEcjOJ+8T73VbK+Z wr3DqXb2z4pZn0nH2LYteWVkLT5ldXkIhxQ3fxvX2xVWCKXaINvoVsm184g4rAysumYT t1aoSFgX+xfgj76o4KLYjMUxRLno138Pr3urX/O8APkSoIk+jFsnocYoK50Cv1QLojQN FWMmVd/VSwzcnznxGJpiwThIcToU4ew7uj+kaGglMKW3Xpp9k0ZULo4F7+6pr+ZTR3B8 SDutrTaSljLYo9PvYXe00kMbDVOUpVtySnKbswkY/15h+orgUDBVul9Y8KKrCaplUu8u tUUg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=YhcOvwwb; 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 h9-20020a05620a400900b0070fe8de6d50si6155953qko.386.2023.02.26.21.49.36 for (version=TLS1_2 cipher=ECDHE-ECDSA-CHACHA20-POLY1305 bits=256/256); Sun, 26 Feb 2023 21:49:36 -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=YhcOvwwb; 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 1pWW82-0003cz-Q0; Mon, 27 Feb 2023 00:32:50 -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 1pWW6a-0006vp-IM for qemu-devel@nongnu.org; Mon, 27 Feb 2023 00:31:20 -0500 Received: from mail-pl1-x62f.google.com ([2607:f8b0:4864:20::62f]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1pWW6Y-0000ru-S9 for qemu-devel@nongnu.org; Mon, 27 Feb 2023 00:31:20 -0500 Received: by mail-pl1-x62f.google.com with SMTP id ky4so5559570plb.3 for ; Sun, 26 Feb 2023 21:31:18 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; 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=cc505buS8ZqTwJy0cVRT4/uSaARbJr2+/eIoFYK/Stw=; b=YhcOvwwbiX6cL1Sdo+8L9MSukEeppnPOyBa4IG5upsnYugKpfhDtmgulzQPyY08alC t+J8F+gaWMN50jyk51AkkEUvsN9IU9Ei2o7SF1AwngIp5nMXBeMJJflAFpebcQaTxYmL GUdKqM8tCNjMt49RWemQpVo73gRTLcePqpuhvUofW/q/ROIynWBU+AeaTbkOq7PDbxCW R3lA6lQQeo86L8gbudXyW7xQzxwEGriwlCisYIrR/AFE8d/oFddZXPhDAHmOTFn7MY2a FfWnC0wvlHq89P047NAaUaBwGZ7thI82zdISSvboxOciZg4PBHFaQCEHFtBUaxlbgSxa W4kA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; 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=cc505buS8ZqTwJy0cVRT4/uSaARbJr2+/eIoFYK/Stw=; b=n3hFFXfHUIPJjF08OH3srTYDbYiYjCXasbjvQ7mjnuRUMDM8WTA19MJWSDCcGheB1j WWdLBXNmN/E2NSwrbD5H38lXGWn1BW5vQynF5xTJ2Ew2c3l/WCbLF0MQXvwwgxjqJNuE SPKd2WT4wg2Pt40sssNzG0ufAEnLADf5KJh3wdMQm65hMzfh5xF6BTYVeJKE3mYzc4d1 MM2YpNWCXr/KkhgYN5p4DkSO02xpa77UQm6FJE9GwMUJovj92P12/+g4x3tt4Cd+D7bh yIv51uKu7ISU1amKs80pqMcztJh6XpQdfJqi5bgQsfranwPnXhkyABWDjULWYqejobhu yJLg== X-Gm-Message-State: AO0yUKUhzoUg1slSyNeqYqe/4mfVgyd2qw0/LO2KoScjUPX8i3h5G0vy 2ITRNB9QqEdO4qqm90pV1UNWJdjdwba+gZFQFqQ= X-Received: by 2002:a17:90b:4d8a:b0:237:d5de:5e68 with SMTP id oj10-20020a17090b4d8a00b00237d5de5e68mr5558160pjb.49.1677475878019; Sun, 26 Feb 2023 21:31:18 -0800 (PST) Received: from stoup.. (rrcs-173-198-77-218.west.biz.rr.com. [173.198.77.218]) by smtp.gmail.com with ESMTPSA id v4-20020a17090a520400b002369e16b276sm5172926pjh.32.2023.02.26.21.31.15 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 26 Feb 2023 21:31:17 -0800 (PST) From: Richard Henderson To: qemu-devel@nongnu.org Cc: qemu-arm@nongnu.org, qemu-ppc@nongnu.org, qemu-riscv@nongnu.org, qemu-s390x@nongnu.org, jcmvbkbc@gmail.com, kbastian@mail.uni-paderborn.de, ysato@users.sourceforge.jp, gaosong@loongson.cn, jiaxun.yang@flygoat.com, tsimpson@quicinc.com, ale@rev.ng, mrolnik@gmail.com, edgar.iglesias@gmail.com Subject: [PATCH v2 67/76] target/sparc: Remove egress label in disas_sparc_context Date: Sun, 26 Feb 2023 19:24:56 -1000 Message-Id: <20230227052505.352889-68-richard.henderson@linaro.org> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20230227052505.352889-1-richard.henderson@linaro.org> References: <20230227052505.352889-1-richard.henderson@linaro.org> MIME-Version: 1.0 Received-SPF: pass client-ip=2607:f8b0:4864:20::62f; envelope-from=richard.henderson@linaro.org; helo=mail-pl1-x62f.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 Signed-off-by: Richard Henderson Reviewed-by: Peter Maydell --- 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 bdf464f802..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)