From patchwork Mon Aug 31 16:05:06 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Richard Henderson X-Patchwork-Id: 248765 Delivered-To: patch@linaro.org Received: by 2002:a92:5b9c:0:0:0:0:0 with SMTP id c28csp3445535ilg; Mon, 31 Aug 2020 09:12:53 -0700 (PDT) X-Google-Smtp-Source: ABdhPJyc3tyIWuunc4o7iPbLIJPwDYVrCMUEZj5jGFb16iEVTN+9H9i00aEHUzvyeNOFw01COJM6 X-Received: by 2002:a25:a4c2:: with SMTP id g60mr3155731ybi.134.1598890373503; Mon, 31 Aug 2020 09:12:53 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1598890373; cv=none; d=google.com; s=arc-20160816; b=GO2i4JhnGLQ2bFIz5E0vxWtwBUkbR+oTNfW6iC2GPL3myhxVtmjRP1JiItBThglrpT dcgzkSgiiFu3oQuk7U564j9cXEuUA1ucBmrMAm5pbsz+EZIBHSssEJNeSWqvQjh6HwyN IKJoKgOSilzqDKIL30RkjR8guqr6mWjnZ1swM4Nv6lNoA3fbfimxlPsx9Y1gJX0Lc3E3 zDANgxI+czuV6pcYKbARVnOXp3iI+U565p/DMkq35blnEdOXvuqdYCiwtFNvJQfeIWh/ rK1eo3qXvFJtKMQS63E/hW0eeXQmChPMsf2V3GIjmI02NXPv5m+yl2UcX29ikwPVih6u xncA== 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 :dkim-signature; bh=m3MYH1ZpDTZxIcPbri13lEz6BY7Q37pNtVKufrg+PL0=; b=u07K7zY0eTY++XO8ezUad4Mf3baWyOMkoFkzswap0FucAp81Td9Z0xQ3UgPGoUnZhb ZffI8QDQDPIk+4Lz4JMLMUaFHY/zmGW8G1H+aulBP86tG0jE56PZbU9p7ZYDlAgFVDpp JEYolrYIXY8tQy9ILATAJwJFrCOw99lvUJ8hgSE+dzfOHb4nZbZKbUskWbktIb6akYJK 1GfcmSZK5+dpo2bFU+EFa989siT73MEkbPyVF2Du/rBkgG31YiTaVspdG1PIBSn47IEp AwUgrHclJf0ovQ5+HgBcgTo8wgVynwNj+MESmI/7YuokcLIHUGOT7U+xHodPUwQ8zmqC R+yg== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@linaro.org header.s=google header.b=iO2f8HVe; 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=fail (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 w6si8108944ybt.408.2020.08.31.09.12.53 for (version=TLS1_2 cipher=ECDHE-ECDSA-CHACHA20-POLY1305 bits=256/256); Mon, 31 Aug 2020 09:12:53 -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; dkim=fail header.i=@linaro.org header.s=google header.b=iO2f8HVe; 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=fail (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: from localhost ([::1]:55760 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1kCmQO-0000Fk-Vs for patch@linaro.org; Mon, 31 Aug 2020 12:12:53 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:33824) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kCmKJ-0004Ih-T3 for qemu-devel@nongnu.org; Mon, 31 Aug 2020 12:06:35 -0400 Received: from mail-pl1-x634.google.com ([2607:f8b0:4864:20::634]:41753) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1kCmKI-0005zF-5L for qemu-devel@nongnu.org; Mon, 31 Aug 2020 12:06:35 -0400 Received: by mail-pl1-x634.google.com with SMTP id l9so1610571plt.8 for ; Mon, 31 Aug 2020 09:06:33 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=m3MYH1ZpDTZxIcPbri13lEz6BY7Q37pNtVKufrg+PL0=; b=iO2f8HVeuM/oIfYyxVyt2Vo5YvVjQ16mVl2in0qFsBq5wHHT1RLRfyPXqxChF5kw4N WsAJp9ZE2mdD9GNuSHDyJTkJhZr/yEryba8nQP/Ug8a7SfcWE6Enad6lJ7BSEm15723O c4xEKiSti9Hy1sF8YqVkA/ufzUHPQnOWOwwGrmT7cqiY6Q/QI3dVBY5wKmqQ79kAC4uw s6B0OWT6onLiN5G9K9Aul+AsHq2gJMnNlHNCKQQwHsMnm6WJRq0ro4BZXlueyvrZXLe7 gGzWOGFDEwBWC7uz/IlElW2ZXZhEYKObQT6Soy1aqjUFsGvd/bNl2cmQ1g0o3s2cs4JB taQw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=m3MYH1ZpDTZxIcPbri13lEz6BY7Q37pNtVKufrg+PL0=; b=lWFZb/tVWoJOHXu7KOAUy4lzAXlYC3tGuhpS+bfJjYtZBSIvL77fNFVTrMwdXqdTPw 7Qr0seUwPfTxTfGymYQqgfv8CwhkjBLEMVdxJzWy6eY4bG1q1/qYtvtNlWzp4G15hVqk TIYplKHPn4w/g+nr84e3t10lmOdmWyw2hQrc58qsuxgsnUZBCTx+aqFh+s8+WyypBUSQ QNDd1QOkZS1s8rAfXDXatbKvezYTasfa1RRVnMBGAcwTYnRk1VpO5rDMBetPYx6Z+3fp P6i8j8KblxE/66Izsqi2C3IjXVRR+imnHvQmtX2uaoz5qZT+rIbv1/mODz6gGdQDoEbL KnEw== X-Gm-Message-State: AOAM531iaG1yM/fQZu/3zmZkCJwdXMPxk4uEbcMRW5EyCf0Yye03ccxp NAIar2L2tevcWEDt+1Lrm6IvXx3Ticbz8A== X-Received: by 2002:a17:902:a58c:: with SMTP id az12mr1585331plb.109.1598889992311; Mon, 31 Aug 2020 09:06:32 -0700 (PDT) Received: from localhost.localdomain ([71.212.141.89]) by smtp.gmail.com with ESMTPSA id gt13sm17218pjb.43.2020.08.31.09.06.31 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 31 Aug 2020 09:06:31 -0700 (PDT) From: Richard Henderson To: qemu-devel@nongnu.org Subject: [PULL 21/76] target/microblaze: Mark raise_exception as noreturn Date: Mon, 31 Aug 2020 09:05:06 -0700 Message-Id: <20200831160601.833692-22-richard.henderson@linaro.org> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20200831160601.833692-1-richard.henderson@linaro.org> References: <20200831160601.833692-1-richard.henderson@linaro.org> MIME-Version: 1.0 Received-SPF: pass client-ip=2607:f8b0:4864:20::634; envelope-from=richard.henderson@linaro.org; helo=mail-pl1-x634.google.com X-detected-operating-system: by eggs.gnu.org: No matching host in p0f cache. That's all we know. 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.23 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: "Edgar E . Iglesias" , peter.maydell@linaro.org Errors-To: qemu-devel-bounces+patch=linaro.org@nongnu.org Sender: "Qemu-devel" This will allow tcg to remove any dead code that might follow an exception. Tested-by: Edgar E. Iglesias Reviewed-by: Edgar E. Iglesias Signed-off-by: Richard Henderson --- target/microblaze/helper.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) -- 2.25.1 diff --git a/target/microblaze/helper.h b/target/microblaze/helper.h index 2f8bdea22b..820711366d 100644 --- a/target/microblaze/helper.h +++ b/target/microblaze/helper.h @@ -1,4 +1,4 @@ -DEF_HELPER_2(raise_exception, void, env, i32) +DEF_HELPER_FLAGS_2(raise_exception, TCG_CALL_NO_WG, noreturn, env, i32) DEF_HELPER_1(debug, void, env) DEF_HELPER_FLAGS_3(carry, TCG_CALL_NO_RWG_SE, i32, i32, i32, i32) DEF_HELPER_2(cmp, i32, i32, i32)