diff options
author | archshift <admin@archshift.com> | 2014-05-17 19:55:45 +0200 |
---|---|---|
committer | archshift <admin@archshift.com> | 2014-05-17 19:55:45 +0200 |
commit | c396a5ac576c172951e129f19a987398d53dc95c (patch) | |
tree | dfe448a8080bf272854c60e6b6e3ff0724f76558 /src/core/arm/interpreter/vfp/vfpsingle.cpp | |
parent | Updated cmakelists (diff) | |
download | yuzu-c396a5ac576c172951e129f19a987398d53dc95c.tar yuzu-c396a5ac576c172951e129f19a987398d53dc95c.tar.gz yuzu-c396a5ac576c172951e129f19a987398d53dc95c.tar.bz2 yuzu-c396a5ac576c172951e129f19a987398d53dc95c.tar.lz yuzu-c396a5ac576c172951e129f19a987398d53dc95c.tar.xz yuzu-c396a5ac576c172951e129f19a987398d53dc95c.tar.zst yuzu-c396a5ac576c172951e129f19a987398d53dc95c.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; |