diff options
| author | 2014-05-16 21:25:33 -0400 | |
|---|---|---|
| committer | 2014-05-16 21:25:33 -0400 | |
| commit | 92be5517c40fd9abf89455f606c321b629c0698e (patch) | |
| tree | 3b9d45d77897ba308d09df2567d3bead5dddbd25 | |
| parent | another VFP fix for GCC (diff) | |
| download | yuzu-92be5517c40fd9abf89455f606c321b629c0698e.tar.gz yuzu-92be5517c40fd9abf89455f606c321b629c0698e.tar.xz yuzu-92be5517c40fd9abf89455f606c321b629c0698e.zip | |
same fix as last commit - just for vfpsingle.cpp
| -rw-r--r-- | src/core/arm/interpreter/vfp/vfpsingle.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/core/arm/interpreter/vfp/vfpsingle.cpp b/src/core/arm/interpreter/vfp/vfpsingle.cpp index 34de030bf..05279f5ce 100644 --- a/src/core/arm/interpreter/vfp/vfpsingle.cpp +++ b/src/core/arm/interpreter/vfp/vfpsingle.cpp | |||
| @@ -327,13 +327,13 @@ u32 vfp_estimate_sqrt_significand(u32 exponent, u32 significand) | |||
| 327 | 327 | ||
| 328 | static u32 vfp_single_fsqrt(ARMul_State* state, int sd, int unused, s32 m, u32 fpscr) | 328 | static u32 vfp_single_fsqrt(ARMul_State* state, int sd, int unused, s32 m, u32 fpscr) |
| 329 | { | 329 | { |
| 330 | struct vfp_single vsm, vsd; | 330 | struct vfp_single vsm, vsd, *vsp; |
| 331 | int ret, tm; | 331 | int ret, tm; |
| 332 | 332 | ||
| 333 | vfp_single_unpack(&vsm, m); | 333 | vfp_single_unpack(&vsm, m); |
| 334 | tm = vfp_single_type(&vsm); | 334 | tm = vfp_single_type(&vsm); |
| 335 | if (tm & (VFP_NAN|VFP_INFINITY)) { | 335 | if (tm & (VFP_NAN|VFP_INFINITY)) { |
| 336 | struct vfp_single *vsp = &vsd; | 336 | vsp = &vsd; |
| 337 | 337 | ||
| 338 | if (tm & VFP_NAN) | 338 | if (tm & VFP_NAN) |
| 339 | ret = vfp_propagate_nan(vsp, &vsm, NULL, fpscr); | 339 | ret = vfp_propagate_nan(vsp, &vsm, NULL, fpscr); |