Message ID | 20200713141104.5139-18-peter.maydell@linaro.org |
---|---|
State | Accepted |
Commit | 42928f2c9cd6185e3bda5e214f5c8f3603125ba9 |
Headers | show
Delivered-To: patch@linaro.org Received: by 2002:a92:d244:0:0:0:0:0 with SMTP id v4csp2883719ilg; Mon, 13 Jul 2020 07:20:48 -0700 (PDT) X-Google-Smtp-Source: ABdhPJy80OBADAcjsBi3p6XP+0aIzCXvLH+kV6tCC4YAshKv90XgfjUO5dBltgt3dJrF9vj9gbKG X-Received: by 2002:a25:8802:: with SMTP id c2mr361450ybl.444.1594650048205; Mon, 13 Jul 2020 07:20:48 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1594650048; cv=none; d=google.com; s=arc-20160816; b=Zy0EyuFPrdHkHslsg+8P5jFEdwEFOiMK/9wcoLAFIy1t8+5cje6+9oOafewOARZ7h5 Jy/0eO7f6XjDu4EgCw/ay6tW65RaAA/UI2AcnrOOfKKj0CtXJIxcQfvrisroAEtYSKNe 3WvhtQZEKW5quHOEsYBl3P/Z+HolHnFrLyFTV9BmiG0KddU4dOUHk+PhDrTZu2oNMdfI l9r47ATz+YRdIq+F+Q3c/QAFoIXQbe9meb4MOTBKLdCrm+4SHN0WoAVzloyiXh3zlhJM GkBXEuvPkk9z/3hsMjJHGIq9B3yLBHmn/R395XV81ijq3MjvuErRXY0fMxz8a2NCg7VE by8g== 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:to:from :dkim-signature; bh=MtbNrkAMGJhFhtpNvSaktDyVzUetinwB6fus5j2wvXs=; b=vWP6JOkZDnOMItWUYBEJHibTyEX7Tuhx2KUx3NLSnAE7eRf5sTMQN96bjIFDLCSmxc y+b3k8BkTgyRNXaX5pfnOvWvZSJSCKFt4b2X5p2CZCfQ7fZOT0uf0QGvpXGAaL03bxFF t4QelZoE+wAU4s0wlBsorGE4Yr3gPJ+8m9vLTZfgO1ruBMBFlagQOoWIeXye4ygzfkNf EA5h4BHrOua5DNlEW9rES4NOIaMTs8D/lLijAag5egSDXmxoEc9FRxkWJRcZESuf+4WS dzTMwcuLMwa0lXMe/E5/TecBLRkyHpDBFASRHfopjAWIKe+WLnuPKmAgVYCssTvtZoOS 2lDg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=sRAp3ov4; 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: <qemu-devel-bounces+patch=linaro.org@nongnu.org> Received: from lists.gnu.org (lists.gnu.org. [209.51.188.17]) by mx.google.com with ESMTPS id n4si15598931ybn.165.2020.07.13.07.20.48 for <patch@linaro.org> (version=TLS1_2 cipher=ECDHE-ECDSA-CHACHA20-POLY1305 bits=256/256); Mon, 13 Jul 2020 07:20:48 -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=pass header.i=@linaro.org header.s=google header.b=sRAp3ov4; 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]:60086 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from <qemu-devel-bounces+patch=linaro.org@nongnu.org>) id 1juzK3-0004xu-KB for patch@linaro.org; Mon, 13 Jul 2020 10:20:47 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:35286) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from <peter.maydell@linaro.org>) id 1juzB3-0005Y0-0c for qemu-devel@nongnu.org; Mon, 13 Jul 2020 10:11:30 -0400 Received: from mail-wm1-x342.google.com ([2a00:1450:4864:20::342]:37103) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from <peter.maydell@linaro.org>) id 1juzB1-0006er-AA for qemu-devel@nongnu.org; Mon, 13 Jul 2020 10:11:28 -0400 Received: by mail-wm1-x342.google.com with SMTP id o2so13317813wmh.2 for <qemu-devel@nongnu.org>; Mon, 13 Jul 2020 07:11:26 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=from:to:subject:date:message-id:in-reply-to:references:mime-version :content-transfer-encoding; bh=MtbNrkAMGJhFhtpNvSaktDyVzUetinwB6fus5j2wvXs=; b=sRAp3ov4SdXgLtDoEEDcJ9fWs1Rvra4etIXSnJnXgFxHsGTkpg9JsmmZjklrits0n/ +bTAdjGg+SMPc2oglmkcNdxuuPOaCessPCot7cYshRSJIWt4KsJ+vqq6bjtoB1MlYF21 Kr6wMejEjX3501If5627+kYnKpZbp7xvW9b4is0VQPk42dv6Z/yhasAV+O8bW/eZS1Ay R9grv1I5leQO5zYrRdNVEx2whoFz+1LNRvdgPewhUPuJRXp7FmUFGajKxhY+viDbp5id Ez0nTaXZaxA6HQEj+dtOq3Ltljr150qtj/aRclmzzgJrwc+HsTdlt2zGJyLs9MIivrnz nqDg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=MtbNrkAMGJhFhtpNvSaktDyVzUetinwB6fus5j2wvXs=; b=sZYS/ekeaDNjOt8JWgHP3rS4F8NXOIcG2WCHAJQMQNQ7TmzldOy/FAZNRS5D5vSbm7 a4avicnUJouDrYG8yzQE3iDi0rC+UjpQ7BP/aIgL+A9rrSLi3juY8eru1DvUif6Us27M axpupRqS7a9ayvnW/4iLj2vVidn960nEFnf0TeJO4vTaIC/AbJfGCWgi4O3TrwD+tU+U GvnA3YTdXtnEpAOTYeAj0X76XIYH0CM46IacdeRea77JPV5bcdDYfzb2+SSfhoDDjODR X8/eY2fwMXQOWSWq/Za5WY4tisFInwztNLSIb0mDexiiIAB+56MXUGXGywk5yFn4cgDZ 080w== X-Gm-Message-State: AOAM532ILrvNee8+Ig5JfjJhewmwhJUvPpBXT4GtTmLlw1q6HbPux8Dn q7/Il0QhbTTtz0ggo5wYIxY57sh/4U259g== X-Received: by 2002:a1c:ab84:: with SMTP id u126mr143817wme.43.1594649485699; Mon, 13 Jul 2020 07:11:25 -0700 (PDT) Received: from orth.archaic.org.uk (orth.archaic.org.uk. [81.2.115.148]) by smtp.gmail.com with ESMTPSA id c136sm24031297wmd.10.2020.07.13.07.11.24 for <qemu-devel@nongnu.org> (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 13 Jul 2020 07:11:25 -0700 (PDT) From: Peter Maydell <peter.maydell@linaro.org> To: qemu-devel@nongnu.org Subject: [PULL 17/25] target/nios2: add DISAS_NORETURN case for nothing more to generate Date: Mon, 13 Jul 2020 15:10:56 +0100 Message-Id: <20200713141104.5139-18-peter.maydell@linaro.org> X-Mailer: git-send-email 2.20.1 In-Reply-To: <20200713141104.5139-1-peter.maydell@linaro.org> References: <20200713141104.5139-1-peter.maydell@linaro.org> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Received-SPF: pass client-ip=2a00:1450:4864:20::342; envelope-from=peter.maydell@linaro.org; helo=mail-wm1-x342.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: <qemu-devel.nongnu.org> List-Unsubscribe: <https://lists.nongnu.org/mailman/options/qemu-devel>, <mailto:qemu-devel-request@nongnu.org?subject=unsubscribe> List-Archive: <https://lists.nongnu.org/archive/html/qemu-devel> List-Post: <mailto:qemu-devel@nongnu.org> List-Help: <mailto:qemu-devel-request@nongnu.org?subject=help> List-Subscribe: <https://lists.nongnu.org/mailman/listinfo/qemu-devel>, <mailto:qemu-devel-request@nongnu.org?subject=subscribe> Errors-To: qemu-devel-bounces+patch=linaro.org@nongnu.org Sender: "Qemu-devel" <qemu-devel-bounces+patch=linaro.org@nongnu.org> |
Series |
target-arm queue
|
expand
|
diff --git a/target/nios2/translate.c b/target/nios2/translate.c index 6c34cd31937..00b591cc298 100644 --- a/target/nios2/translate.c +++ b/target/nios2/translate.c @@ -149,7 +149,7 @@ static void t_gen_helper_raise_exception(DisasContext *dc, tcg_gen_movi_tl(dc->cpu_R[R_PC], dc->pc); gen_helper_raise_exception(dc->cpu_env, tmp); tcg_temp_free_i32(tmp); - dc->is_jmp = DISAS_UPDATE; + dc->is_jmp = DISAS_NORETURN; } static bool use_goto_tb(DisasContext *dc, uint32_t dest) @@ -802,7 +802,7 @@ static void gen_exception(DisasContext *dc, uint32_t excp) tcg_gen_movi_tl(cpu_R[R_PC], dc->pc); gen_helper_raise_exception(cpu_env, tmp); tcg_temp_free_i32(tmp); - dc->is_jmp = DISAS_UPDATE; + dc->is_jmp = DISAS_NORETURN; } /* generate intermediate code for basic block 'tb'. */ @@ -877,6 +877,7 @@ void gen_intermediate_code(CPUState *cs, TranslationBlock *tb, int max_insns) tcg_gen_exit_tb(NULL, 0); break; + case DISAS_NORETURN: case DISAS_TB_JUMP: /* nothing more to generate */ break;