[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Qemu-devel] [PATCH v2 15/16] target/arm: Simplify fp_exception_el for u
From: |
Richard Henderson |
Subject: |
[Qemu-devel] [PATCH v2 15/16] target/arm: Simplify fp_exception_el for user-only |
Date: |
Thu, 18 Jan 2018 20:54:37 -0800 |
Signed-off-by: Richard Henderson <address@hidden>
---
target/arm/helper.c | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/target/arm/helper.c b/target/arm/helper.c
index c0e5f321c5..44814af99b 100644
--- a/target/arm/helper.c
+++ b/target/arm/helper.c
@@ -11707,6 +11707,7 @@ uint32_t HELPER(crc32c)(uint32_t acc, uint32_t val,
uint32_t bytes)
*/
static inline int fp_exception_el(CPUARMState *env)
{
+#ifndef CONFIG_USER_ONLY
int fpen;
int cur_el = arm_current_el(env);
@@ -11763,7 +11764,7 @@ static inline int fp_exception_el(CPUARMState *env)
/* Trap all FP ops to EL3 */
return 3;
}
-
+#endif
return 0;
}
--
2.14.3
- [Qemu-devel] [PATCH v2 11/16] target/arm: Add SVE to migration state, (continued)
- [Qemu-devel] [PATCH v2 11/16] target/arm: Add SVE to migration state, Richard Henderson, 2018/01/18
- [Qemu-devel] [PATCH v2 06/16] target/arm: Add aa{32, 64}_vfp_{dreg, qreg} helpers, Richard Henderson, 2018/01/18
- [Qemu-devel] [PATCH v2 12/16] target/arm: Add ZCR_ELx, Richard Henderson, 2018/01/18
- [Qemu-devel] [PATCH v2 15/16] target/arm: Simplify fp_exception_el for user-only,
Richard Henderson <=
- [Qemu-devel] [PATCH v2 14/16] target/arm: Hoist store to flags output in cpu_get_tb_cpu_state, Richard Henderson, 2018/01/18
- [Qemu-devel] [PATCH v2 16/16] target/arm: Add SVE state to TB->FLAGS, Richard Henderson, 2018/01/18
- [Qemu-devel] [PATCH v2 13/16] target/arm: Move cpu_get_tb_cpu_state out of line, Richard Henderson, 2018/01/18
- Re: [Qemu-devel] [PATCH v2 00/16] target/arm: Prepatory work for SVE, no-reply, 2018/01/19
- Re: [Qemu-devel] [PATCH v2 00/16] target/arm: Prepatory work for SVE, Peter Maydell, 2018/01/22