]> Git Repo - qemu.git/commitdiff
target-arm: Use the standard FPSCR value for VRSQRTS
authorPeter Maydell <[email protected]>
Fri, 14 Jan 2011 19:39:18 +0000 (20:39 +0100)
committerAurelien Jarno <[email protected]>
Fri, 14 Jan 2011 19:39:18 +0000 (20:39 +0100)
VSQRTS always uses the standard FPSCR value as it is a Neon instruction.

Signed-off-by: Peter Maydell <[email protected]>
Reviewed-by: Aurelien Jarno <[email protected]>
Signed-off-by: Aurelien Jarno <[email protected]>
target-arm/helper.c

index d7790554f49a0adff311eb7687dc76bbe89761f7..8186500e9241a0528b5c5fed9ee93b61ddd6f50e 100644 (file)
@@ -2616,7 +2616,7 @@ float32 HELPER(recps_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 three = int32_to_float32(3, s);
     float32 product;
This page took 0.028855 seconds and 4 git commands to generate.