From: Richard Henderson Date: Fri, 23 Apr 2021 16:54:11 +0000 (-0700) Subject: linux-user/arm: Do not emulate fpa11 in thumb mode X-Git-Tag: v6.1.0-rc0~116^2~55 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=d827f6d5fdb0826e17c80f63547c5c2dee3f0fac;p=thirdparty%2Fqemu.git 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 Reviewed-by: Peter Maydell Message-Id: <20210423165413.338259-3-richard.henderson@linaro.org> Signed-off-by: Laurent Vivier --- diff --git a/linux-user/arm/cpu_loop.c b/linux-user/arm/cpu_loop.c index 106909c7d88..e2a1496b9fe 100644 --- a/linux-user/arm/cpu_loop.c +++ b/linux-user/arm/cpu_loop.c @@ -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; }