mirror of
https://github.com/yuzu-emu/unicorn.git
synced 2025-01-11 01:15:37 +00:00
target/arm: Simplify fp_exception_el for user-only
Backports commit 55faa21273151259de38da271c8a2f2b37d6c250 from qemu
This commit is contained in:
parent
11688c4b12
commit
0af3b16b5b
|
@ -10833,6 +10833,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);
|
||||
|
||||
|
@ -10889,7 +10890,7 @@ static inline int fp_exception_el(CPUARMState *env)
|
|||
/* Trap all FP ops to EL3 */
|
||||
return 3;
|
||||
}
|
||||
|
||||
#endif
|
||||
return 0;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue