linux-user/arm: Do not emulate fpa11 in thumb mode

These antiquated instructions are arm-mode only.

Buglink: https://bugs.launchpad.net/bugs/1925512
Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
Reviewed-by: Peter Maydell <peter.maydell@linaro.org>
Message-Id: <20210423165413.338259-3-richard.henderson@linaro.org>
Signed-off-by: Laurent Vivier <laurent@vivier.eu>
This commit is contained in:
Richard Henderson 2021-04-23 09:54:11 -07:00 committed by Laurent Vivier
parent c1438d6c02
commit d827f6d5fd

View File

@ -347,7 +347,7 @@ void cpu_loop(CPUARMState *env)
goto excp_debug;
}
if (emulate_arm_fpa11(env, opcode)) {
if (!env->thumb && emulate_arm_fpa11(env, opcode)) {
break;
}