diff options
author | bunnei <bunneidev@gmail.com> | 2014-05-20 03:46:57 +0200 |
---|---|---|
committer | bunnei <bunneidev@gmail.com> | 2014-05-20 03:46:57 +0200 |
commit | 204c6bfeca2d3bccfe6602699c0b3420f88aaf07 (patch) | |
tree | 4ece05e69f90f50e3390eb93a0790180aafcdbc6 /src/core/arm/interpreter/vfp/vfpsingle.cpp | |
parent | updated Travis-CI image/link in readme for new project repo (diff) | |
parent | common_types: Changed BasicRect back to Rect, in the common namespace (diff) | |
download | yuzu-204c6bfeca2d3bccfe6602699c0b3420f88aaf07.tar yuzu-204c6bfeca2d3bccfe6602699c0b3420f88aaf07.tar.gz yuzu-204c6bfeca2d3bccfe6602699c0b3420f88aaf07.tar.bz2 yuzu-204c6bfeca2d3bccfe6602699c0b3420f88aaf07.tar.lz yuzu-204c6bfeca2d3bccfe6602699c0b3420f88aaf07.tar.xz yuzu-204c6bfeca2d3bccfe6602699c0b3420f88aaf07.tar.zst yuzu-204c6bfeca2d3bccfe6602699c0b3420f88aaf07.zip |
Diffstat (limited to 'src/core/arm/interpreter/vfp/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 05279f5ce..602713cff 100644 --- a/src/core/arm/interpreter/vfp/vfpsingle.cpp +++ b/src/core/arm/interpreter/vfp/vfpsingle.cpp @@ -69,7 +69,7 @@ static void vfp_single_dump(const char *str, struct vfp_single *s) static void vfp_single_normalise_denormal(struct vfp_single *vs) { - int bits = 31 - fls(vs->significand); + int bits = 31 - vfp_fls(vs->significand); vfp_single_dump("normalise_denormal: in", vs); @@ -111,7 +111,7 @@ u32 vfp_single_normaliseround(ARMul_State* state, int sd, struct vfp_single *vs, * bit 31, so we have VFP_SINGLE_LOW_BITS + 1 below the least * significant bit. */ - shift = 32 - fls(significand); + shift = 32 - vfp_fls(significand); if (shift < 32 && shift) { exponent -= shift; significand <<= shift; |