From patchwork Fri Apr 22 16:52:20 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Richard Henderson X-Patchwork-Id: 564895 Delivered-To: patch@linaro.org Received: by 2002:a05:7000:6886:0:0:0:0 with SMTP id m6csp701165map; Fri, 22 Apr 2022 10:52:28 -0700 (PDT) X-Google-Smtp-Source: ABdhPJxqZC4Oxu8L5MKOzRiOFYcktP9DPm0tjqaMbHjCskG3/Tzbt/xVgSu2n5yf0qdJBVxnLcdl X-Received: by 2002:a05:6214:2268:b0:446:66a8:85ca with SMTP id gs8-20020a056214226800b0044666a885camr4341281qvb.21.1650649948155; Fri, 22 Apr 2022 10:52:28 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1650649948; cv=none; d=google.com; s=arc-20160816; b=Qz+Hnq3zAlKCvUabSqgVE9AfrGSg/9/jOZNqw8If/EznkuFCF0dDMojNDb67X8XZKP pZ78T2YeBgRpAlEF8C2N1JSBUXDvN2e+FPazmXBkM9qURqaxaR1Gx3FD3zocPqGTStQH yWRCXNnHz24VLXuqc2u9xODOuIfg8AEx4MPA0xs+tLXsS4dEFxq/ylvE6XnCRcrnWXSP dELanYSnZqUSx6Fa/KR2VU4PBqsAZULZf2snRvyEI6eq2VR6X/2HfUZ8ndzsu84ZHnaw FhnMQleI2EB98Yi0oPRp1sXJpFgq5POEvbkH2vU5ffCmclt0ocZKnvSgzZGz/MnUQutl svpQ== 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=rtZqSMWwTH4bx7pviC4q7DdFYgGahnZ3eKlGOA25mWs=; b=u5c4PbTOPgQeqJYM7MUhzupuNBNg4Wpnroswf6yHdiPi00UDG+aR4zdnqIGN2G3vZZ JmwbJjP/Wr29BCv+rdftsog2Y0CJq+yOycUOA9I8L+O4MOP5BcAJ/2tD8+3Fmz4zHeit QCDj2NK4x7ZvWjzexjp0kCKicig6f1CHusbLXyqKfTJp9d9hNsIPoMWw6ruAlc7nrPuw yg6sYJCeE9LIrLFn0QBjlVP1zzPyx3+jzADRi0q12g3/3CGoRi10CfXrcfB+p6Z0q8vJ AHclrLolT4LR9QBur1gnQjjynAqLRypgKSxbC5fXPDnrrb/xAgHNV17+AOq6Krz121Hg 9PaQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=WgqHMRuB; 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 k3-20020ac85fc3000000b002eb992f684esi2537096qta.141.2022.04.22.10.52.28 for (version=TLS1_2 cipher=ECDHE-ECDSA-CHACHA20-POLY1305 bits=256/256); Fri, 22 Apr 2022 10:52:28 -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=WgqHMRuB; 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]:35588 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1nhxSF-0003Cb-OQ for patch@linaro.org; Fri, 22 Apr 2022 13:52:27 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:50044) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nhwan-0000At-MQ for qemu-devel@nongnu.org; Fri, 22 Apr 2022 12:57:15 -0400 Received: from mail-io1-xd33.google.com ([2607:f8b0:4864:20::d33]:38721) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1nhwal-00080Z-N0 for qemu-devel@nongnu.org; Fri, 22 Apr 2022 12:57:12 -0400 Received: by mail-io1-xd33.google.com with SMTP id n134so9202851iod.5 for ; Fri, 22 Apr 2022 09:57:11 -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=rtZqSMWwTH4bx7pviC4q7DdFYgGahnZ3eKlGOA25mWs=; b=WgqHMRuBQOMQ8di3zqmE3sqB3LcJXuaKGTjvC0/EegA/pccK+hOgAjzHZeemau+Ga0 uBwO0fj2m7IzK/jbVQsmIWcvyKJ4FQqC+kFu9TEm9mT2PKRDSq84aUI3UGXuW7/q3zz3 T7u44F+Rpy0hlzFtWSCqM8ACNE6uWmVyPPeMW5SOzEnFDHLwjlWrKV8IFGTkmpeLF47k jZB92fFySm1iCN95AjC0HJRs17LriGkTAsaqKFgjUbmTnZjELGEo+F5iuDlx+QxeJIhe GGVO9rvH3iMxp5JHLGLi8DJ3QfZWrkWepO7/6t4750b/76LXZ0jpVX1D3tsLjEOaFnHG osow== 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=rtZqSMWwTH4bx7pviC4q7DdFYgGahnZ3eKlGOA25mWs=; b=0Y/6Z4nT7piyIDL7+iaE6NNBawnG2EeVfZgmJNudjEOc5GEKw7dVHpk0fuhb0gkcjg yfun4H3Hap6o+476g0SpHbMfckyuRCi59JeuF1YgCZkJYvtbhxVx7K2wnj11NYxEag/B 2i9PIib5ztkHkBY5JJybNUur4a66LAddN+/6mVwE3KK+lcaID2cXcwikgj0igbBAigcR W6CuNg+CR88GkTGQlpHk3x/x67HUNsqjuYLfCc1SHSLfNTniXuWNXj4yGGhcghtswEQP gRWM+7V2TF6vw5e5kRnHRZRbUbRrcDZqMBOS5u/YwoZS2WFDY0VEa+gOa50TPftNFJkg Rzeg== X-Gm-Message-State: AOAM530lPAUjihbSD6NeotO+moporBbf5hUKrMFVMHca1D9Joz40QQhH Pqny/aOTuve4iQeCZJcLDG65wO19tpsg2JhK X-Received: by 2002:a02:93e1:0:b0:326:7a7d:a2b0 with SMTP id z88-20020a0293e1000000b003267a7da2b0mr2459595jah.44.1650646630720; Fri, 22 Apr 2022 09:57:10 -0700 (PDT) Received: from stoup.. ([2607:fb90:27d0:b0f2:934d:3e2:9f8c:dd1]) by smtp.gmail.com with ESMTPSA id n23-20020a6b8b17000000b00649a2634725sm816380iod.17.2022.04.22.09.57.09 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 22 Apr 2022 09:57:10 -0700 (PDT) From: Richard Henderson To: qemu-devel@nongnu.org Subject: [PATCH v8 50/68] target/nios2: Drop CR_STATUS_EH from tb->flags Date: Fri, 22 Apr 2022 09:52:20 -0700 Message-Id: <20220422165238.1971496-51-richard.henderson@linaro.org> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20220422165238.1971496-1-richard.henderson@linaro.org> References: <20220422165238.1971496-1-richard.henderson@linaro.org> MIME-Version: 1.0 Received-SPF: pass client-ip=2607:f8b0:4864:20::d33; envelope-from=richard.henderson@linaro.org; helo=mail-io1-xd33.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: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Peter Maydell Errors-To: qemu-devel-bounces+patch=linaro.org@nongnu.org Sender: "Qemu-devel" There's nothing about EH that affects translation, so there's no need to include it in tb->flags. Reviewed-by: Peter Maydell Signed-off-by: Richard Henderson Message-Id: <20220421151735.31996-47-richard.henderson@linaro.org> --- target/nios2/cpu.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/target/nios2/cpu.h b/target/nios2/cpu.h index 4d63006ffe..477a661f17 100644 --- a/target/nios2/cpu.h +++ b/target/nios2/cpu.h @@ -272,7 +272,7 @@ static inline void cpu_get_tb_cpu_state(CPUNios2State *env, target_ulong *pc, { *pc = env->pc; *cs_base = 0; - *flags = env->ctrl[CR_STATUS] & (CR_STATUS_EH | CR_STATUS_U); + *flags = env->ctrl[CR_STATUS] & CR_STATUS_U; } #endif /* NIOS2_CPU_H */