Message ID | 20220426181907.103691-54-richard.henderson@linaro.org |
---|---|
State | Accepted |
Commit | 3ad5935c5817cd1ff7938183fe31351765a9c5e9 |
Headers | show
Delivered-To: patch@linaro.org Received: by 2002:a05:7000:6886:0:0:0:0 with SMTP id m6csp3862084map; Tue, 26 Apr 2022 12:03:33 -0700 (PDT) X-Google-Smtp-Source: ABdhPJzw4KoiCwi83XV93BwYOoa83EcRqQ25IqAsBzcYtRWxld35lziLcIh3DJK7Qz3HTluaarUT X-Received: by 2002:a5d:9a83:0:b0:653:1cda:8daa with SMTP id c3-20020a5d9a83000000b006531cda8daamr10298764iom.69.1650999813674; Tue, 26 Apr 2022 12:03:33 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1650999813; cv=none; d=google.com; s=arc-20160816; b=adX4hNCtKzE+fO7X8fnAHAq5noc8LAOd4YlfGhDQOkU0QDEESeJN/B5dZUgosZLXJC +VAe2AY1enlcznnSkFVh87Hkdzvu1usCzzCdV1PO+Mz5vDRQacf77KESWTosb5/l/4NS b5E9P4rLR/k9HNDrbDcVzRntFY4v+dfy3LJx1t9sZuN8nGJMtL/bRUu4W9JvRSVDHQDZ DTfKSCD13MO6EYJzEX347S6vR2wb20oV102IudELGxK3QJzR+a5pKy3Pfo5pOQqLd0Qc 6/SXYhYK9Lu1ft40jvYkvHx0qmYMNCX64eYwg06C/mMwWnx3vz+ubiH9VPC+PgG7g1Iy lnOw== 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=ECkUiferYymqY4Z15uQTs5z/1lpHpfnUwzpraAW+MmE=; b=0qZUPYWuXSSt/f94sNgBrt78RogpY9//7ljGOeBAdnohcDLQdgycvchYKYubCcD8RY H/6Y3EG4nJNEOz9NxyjbTGCcKTlqSznS4CNuWD9KkHoZPfCZ4UeC629/vQVeZO5BMxUZ crONNr9WzLk/HGpAiYLIqQyjJN0me2J173UJhFw9Krsa8gxQuZ+R7KXXA/OZ+rErfh9c 5uCl1K7rUhskHtMXudTX/6CLNw1eA0qNQSMwjMRBahEK8m9FXGJUi4tFpO7T0zitP7Bq gHlLis01Leuv85PpyiN5biSCI5fEzFSpew9N17frBb7fUpmVKpWlSG4qSNGHH8WkGYe7 FD/g== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=oO381OdI; 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 x14-20020a056638160e00b0032b12e90a23si625345jas.27.2022.04.26.12.03.33 for <patch@linaro.org> (version=TLS1_2 cipher=ECDHE-ECDSA-CHACHA20-POLY1305 bits=256/256); Tue, 26 Apr 2022 12:03:33 -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=oO381OdI; 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]:59238 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 1njQTF-0005Hz-40 for patch@linaro.org; Tue, 26 Apr 2022 15:03:33 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:45568) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from <richard.henderson@linaro.org>) id 1njPq0-0001rq-6V for qemu-devel@nongnu.org; Tue, 26 Apr 2022 14:23:04 -0400 Received: from mail-pl1-x62b.google.com ([2607:f8b0:4864:20::62b]:36689) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from <richard.henderson@linaro.org>) id 1njPpy-0005Sb-AP for qemu-devel@nongnu.org; Tue, 26 Apr 2022 14:22:59 -0400 Received: by mail-pl1-x62b.google.com with SMTP id q8so7842845plx.3 for <qemu-devel@nongnu.org>; Tue, 26 Apr 2022 11:22:57 -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=ECkUiferYymqY4Z15uQTs5z/1lpHpfnUwzpraAW+MmE=; b=oO381OdIPVQRnBJG9j5lE3c4+mN7lc0q5Ag+dC3TSCCGgCiWRYNHxIH1UaWYS3VSvk jS5iBa13mYN/Q/2ICk9fjYTSeuknKi6scbVtm1riWsIxptHAirmtK31sYzNGNScvyVr5 MEANgxSbMB6qb+4a2lfAr1mpjbQvDxQQ92dH3KSPvcRfEF9BVRqmzshqfCI8FxxRuUND 3OESMCOkHkfq4d2nZO8DHlMQkuIfuVWSXXAE/CLrOVS3MhERQh9SP/ryw9sGBfFK3NEb oC0XZOblaV22c21Z9KSZS730ZMBQ7botU45FOVWbX/cT3ZoKgliVe1x2Z4+Krnn4kZPa UHBQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=ECkUiferYymqY4Z15uQTs5z/1lpHpfnUwzpraAW+MmE=; b=gSpJeRJVg4WbhWoVi3eyuj8JEBztkl2ck6VnNNADUf4In4uNMmPxLGoh+9VBwgEOrC Td9FTI5BS2QmChJT4J3uT7d2KfuzC59aVkzS0WHOrt287dFivr98n6j4lOHNzJVqw3m4 jbzjjU20aVV0FH4d+eOlgu8Lciku6iaW/1gScaHmqZroU/SswhMkT02IYkUUuygLyWNR a37y3eR6j9YKFsZAJIYP/AbzBARDf/92E6S4Jtu+5eg7N0vAftuKO0qnWnDZngMhF2gO ZmojLf1Drui0xJDI91OTmZDqG2Ra/edHFveSQP5wb6Vs5x8m4MqEkqFgERJjc65+TT0E QA8w== X-Gm-Message-State: AOAM533S6pbIo9L4BvB1gS0rim8T7H93MbFIGo67lhxPFJQtR/r17d6t OmJFtj/UcIszCGJAHYM86Cdu3BlG7U7VzQ== X-Received: by 2002:a17:902:bf0a:b0:15c:df1b:f37d with SMTP id bi10-20020a170902bf0a00b0015cdf1bf37dmr19462963plb.90.1650997377049; Tue, 26 Apr 2022 11:22:57 -0700 (PDT) Received: from stoup.. (174-21-142-130.tukw.qwest.net. [174.21.142.130]) by smtp.gmail.com with ESMTPSA id k187-20020a636fc4000000b003983a01b896sm13585053pgc.90.2022.04.26.11.22.56 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 26 Apr 2022 11:22:56 -0700 (PDT) From: Richard Henderson <richard.henderson@linaro.org> To: qemu-devel@nongnu.org Subject: [PULL 53/68] target/nios2: Hoist set of is_jmp into gen_goto_tb Date: Tue, 26 Apr 2022 11:18:52 -0700 Message-Id: <20220426181907.103691-54-richard.henderson@linaro.org> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20220426181907.103691-1-richard.henderson@linaro.org> References: <20220426181907.103691-1-richard.henderson@linaro.org> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Received-SPF: pass client-ip=2607:f8b0:4864:20::62b; envelope-from=richard.henderson@linaro.org; helo=mail-pl1-x62b.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, T_SCC_BODY_TEXT_LINE=-0.01 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: <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> Cc: Peter Maydell <peter.maydell@linaro.org> Errors-To: qemu-devel-bounces+patch=linaro.org@nongnu.org Sender: "Qemu-devel" <qemu-devel-bounces+patch=linaro.org@nongnu.org> |
Series |
[PULL,01/68] linux-user/nios2: Hoist pc advance to the top of EXCP_TRAP
|
expand
|
diff --git a/target/nios2/translate.c b/target/nios2/translate.c index 8616813365..a55270cefa 100644 --- a/target/nios2/translate.c +++ b/target/nios2/translate.c @@ -192,6 +192,7 @@ static void gen_goto_tb(DisasContext *dc, int n, uint32_t dest) tcg_gen_movi_tl(cpu_pc, dest); tcg_gen_exit_tb(NULL, 0); } + dc->base.is_jmp = DISAS_NORETURN; } static void gen_jumpr(DisasContext *dc, int regno, bool is_call) @@ -235,7 +236,6 @@ static void jmpi(DisasContext *dc, uint32_t code, uint32_t flags) { J_TYPE(instr, code); gen_goto_tb(dc, 0, (dc->pc & 0xF0000000) | (instr.imm26 << 2)); - dc->base.is_jmp = DISAS_NORETURN; } static void call(DisasContext *dc, uint32_t code, uint32_t flags) @@ -278,7 +278,6 @@ static void br(DisasContext *dc, uint32_t code, uint32_t flags) I_TYPE(instr, code); gen_goto_tb(dc, 0, dc->base.pc_next + (instr.imm16.s & -4)); - dc->base.is_jmp = DISAS_NORETURN; } static void gen_bxx(DisasContext *dc, uint32_t code, uint32_t flags) @@ -290,7 +289,6 @@ static void gen_bxx(DisasContext *dc, uint32_t code, uint32_t flags) gen_goto_tb(dc, 0, dc->base.pc_next); gen_set_label(l1); gen_goto_tb(dc, 1, dc->base.pc_next + (instr.imm16.s & -4)); - dc->base.is_jmp = DISAS_NORETURN; } /* Comparison instructions */