diff options
| author | bunnei <bunneidev@gmail.com> | 2014-05-19 21:46:57 -0400 |
|---|---|---|
| committer | bunnei <bunneidev@gmail.com> | 2014-05-19 21:46:57 -0400 |
| commit | 204c6bfeca2d3bccfe6602699c0b3420f88aaf07 (patch) | |
| tree | 4ece05e69f90f50e3390eb93a0790180aafcdbc6 /src/core/arm/interpreter/vfp/vfpdouble.cpp | |
| parent | b5d2ff9b26560b3f2bfdcd311ada661313eaba83 (diff) | |
| parent | 5a8ed196e6e9416134a85fbc7da14fed3af307e4 (diff) | |
Merge pull request #2 from archshift/issue-7-fix
Fixes issues with building Citra on OSX
Diffstat (limited to 'src/core/arm/interpreter/vfp/vfpdouble.cpp')
| -rw-r--r-- | src/core/arm/interpreter/vfp/vfpdouble.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/core/arm/interpreter/vfp/vfpdouble.cpp b/src/core/arm/interpreter/vfp/vfpdouble.cpp index cd5b5afa4..7f975cbeb 100644 --- a/src/core/arm/interpreter/vfp/vfpdouble.cpp +++ b/src/core/arm/interpreter/vfp/vfpdouble.cpp @@ -69,9 +69,9 @@ static void vfp_double_dump(const char *str, struct vfp_double *d) static void vfp_double_normalise_denormal(struct vfp_double *vd) { - int bits = 31 - fls(vd->significand >> 32); + int bits = 31 - vfp_fls(vd->significand >> 32); if (bits == 31) - bits = 63 - fls(vd->significand); + bits = 63 - vfp_fls(vd->significand); vfp_double_dump("normalise_denormal: in", vd); @@ -108,9 +108,9 @@ u32 vfp_double_normaliseround(ARMul_State* state, int dd, struct vfp_double *vd, exponent = vd->exponent; significand = vd->significand; - shift = 32 - fls(significand >> 32); + shift = 32 - vfp_fls(significand >> 32); if (shift == 32) - shift = 64 - fls(significand); + shift = 64 - vfp_fls(significand); if (shift) { exponent -= shift; significand <<= shift; |
