[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[PATCH 8/9] target/arm: Enable FPSCR.QC bit for MVE
From: |
Peter Maydell |
Subject: |
[PATCH 8/9] target/arm: Enable FPSCR.QC bit for MVE |
Date: |
Thu, 20 May 2021 16:28:39 +0100 |
MVE has an FPSCR.QC bit similar to the A-profile Neon one;
when MVE is implemented make the bit writeable.
Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
---
target/arm/vfp_helper.c | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/target/arm/vfp_helper.c b/target/arm/vfp_helper.c
index e0886ab5a56..11e1e087e81 100644
--- a/target/arm/vfp_helper.c
+++ b/target/arm/vfp_helper.c
@@ -220,7 +220,8 @@ void HELPER(vfp_set_fpscr)(CPUARMState *env, uint32_t val)
FPCR_LTPSIZE_LENGTH);
}
- if (arm_feature(env, ARM_FEATURE_NEON)) {
+ if (arm_feature(env, ARM_FEATURE_NEON) ||
+ cpu_isar_feature(aa32_mve, cpu)) {
/*
* The bit we set within fpscr_q is arbitrary; the register as a
* whole being zero/non-zero is what counts.
--
2.20.1
- [PATCH 2/9] target/arm: Update feature checks for insns which are "MVE or FP", (continued)
- [PATCH 2/9] target/arm: Update feature checks for insns which are "MVE or FP", Peter Maydell, 2021/05/20
- [PATCH 3/9] target/arm: Move fpsp/fpdp isar check into callers of do_vfp_2op_sp/dp, Peter Maydell, 2021/05/20
- [PATCH 4/9] target/arm: Add MVE check to VMOV_reg_sp and VMOV_reg_dp, Peter Maydell, 2021/05/20
- [PATCH 5/9] target/arm: Fix return values in fp_sysreg_checks(), Peter Maydell, 2021/05/20
- [PATCH 7/9] target/arm: Make FPSCR.LTPSIZE writable for MVE, Peter Maydell, 2021/05/20
- [PATCH 8/9] target/arm: Enable FPSCR.QC bit for MVE,
Peter Maydell <=
- [PATCH 6/9] target/arm: Implement M-profile VPR register, Peter Maydell, 2021/05/20
- [PATCH 9/9] target/arm: Allow board models to specify initial NS VTOR, Peter Maydell, 2021/05/20
- Re: [PATCH 0/9] target/arm: MVE preliminaries, no-reply, 2021/05/20