summaryrefslogtreecommitdiffstats
path: root/src/core/arm/interpreter/vfp
diff options
context:
space:
mode:
authorbunnei <ericbunnie@gmail.com>2014-05-17 03:18:01 +0200
committerbunnei <ericbunnie@gmail.com>2014-05-17 03:18:01 +0200
commit1dc08765a818bf1e24d6611a673791bab752cd45 (patch)
tree729a4ec371c48cb3712f06376eb3809f835d0dcc /src/core/arm/interpreter/vfp
parentfixed VFP DBG log for GCC (diff)
downloadyuzu-1dc08765a818bf1e24d6611a673791bab752cd45.tar
yuzu-1dc08765a818bf1e24d6611a673791bab752cd45.tar.gz
yuzu-1dc08765a818bf1e24d6611a673791bab752cd45.tar.bz2
yuzu-1dc08765a818bf1e24d6611a673791bab752cd45.tar.lz
yuzu-1dc08765a818bf1e24d6611a673791bab752cd45.tar.xz
yuzu-1dc08765a818bf1e24d6611a673791bab752cd45.tar.zst
yuzu-1dc08765a818bf1e24d6611a673791bab752cd45.zip
Diffstat (limited to 'src/core/arm/interpreter/vfp')
-rw-r--r--src/core/arm/interpreter/vfp/vfpdouble.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/core/arm/interpreter/vfp/vfpdouble.cpp b/src/core/arm/interpreter/vfp/vfpdouble.cpp
index 7e79ecafb..cd5b5afa4 100644
--- a/src/core/arm/interpreter/vfp/vfpdouble.cpp
+++ b/src/core/arm/interpreter/vfp/vfpdouble.cpp
@@ -287,13 +287,13 @@ static u32 vfp_double_fneg(ARMul_State* state, int dd, int unused, int dm, u32 f
static u32 vfp_double_fsqrt(ARMul_State* state, int dd, int unused, int dm, u32 fpscr)
{
pr_debug("In %s\n", __FUNCTION__);
- struct vfp_double vdm, vdd;
+ struct vfp_double vdm, vdd, *vdp;
int ret, tm;
vfp_double_unpack(&vdm, vfp_get_double(state, dm));
tm = vfp_double_type(&vdm);
if (tm & (VFP_NAN|VFP_INFINITY)) {
- struct vfp_double *vdp = &vdd;
+ vdp = &vdd;
if (tm & VFP_NAN)
ret = vfp_propagate_nan(vdp, &vdm, NULL, fpscr);