mirror of https://gitee.com/openkylin/qemu.git
target-arm: Use the standard FPSCR value for VRSQRTS
VSQRTS always uses the standard FPSCR value as it is a Neon instruction. Signed-off-by: Peter Maydell <peter.maydell@linaro.org> Reviewed-by: Aurelien Jarno <aurelien@aurel32.net> Signed-off-by: Aurelien Jarno <aurelien@aurel32.net>
This commit is contained in:
parent
3a492f3a60
commit
718269667a
|
@ -2616,7 +2616,7 @@ float32 HELPER(recps_f32)(float32 a, float32 b, CPUState *env)
|
||||||
|
|
||||||
float32 HELPER(rsqrts_f32)(float32 a, float32 b, CPUState *env)
|
float32 HELPER(rsqrts_f32)(float32 a, float32 b, CPUState *env)
|
||||||
{
|
{
|
||||||
float_status *s = &env->vfp.fp_status;
|
float_status *s = &env->vfp.standard_fp_status;
|
||||||
float32 two = int32_to_float32(2, s);
|
float32 two = int32_to_float32(2, s);
|
||||||
float32 three = int32_to_float32(3, s);
|
float32 three = int32_to_float32(3, s);
|
||||||
float32 product;
|
float32 product;
|
||||||
|
|
Loading…
Reference in New Issue