summaryrefslogtreecommitdiffstats
path: root/src/core/arm/skyeye_common
diff options
context:
space:
mode:
authorSubv <subv2112@gmail.com>2017-05-22 01:56:09 +0200
committerSubv <subv2112@gmail.com>2017-05-22 01:56:09 +0200
commit5b46a89230790d01e21ffaebf3731f68b7bbb4dc (patch)
tree9cb868137b66ab7201a47e006c4de274e732e790 /src/core/arm/skyeye_common
parentDyncom/VFP: Convert denormal outputs into 0 when the FTZ flag is enabled. (diff)
downloadyuzu-5b46a89230790d01e21ffaebf3731f68b7bbb4dc.tar
yuzu-5b46a89230790d01e21ffaebf3731f68b7bbb4dc.tar.gz
yuzu-5b46a89230790d01e21ffaebf3731f68b7bbb4dc.tar.bz2
yuzu-5b46a89230790d01e21ffaebf3731f68b7bbb4dc.tar.lz
yuzu-5b46a89230790d01e21ffaebf3731f68b7bbb4dc.tar.xz
yuzu-5b46a89230790d01e21ffaebf3731f68b7bbb4dc.tar.zst
yuzu-5b46a89230790d01e21ffaebf3731f68b7bbb4dc.zip
Diffstat (limited to 'src/core/arm/skyeye_common')
-rw-r--r--src/core/arm/skyeye_common/vfp/vfpdouble.cpp2
-rw-r--r--src/core/arm/skyeye_common/vfp/vfpsingle.cpp2
2 files changed, 0 insertions, 4 deletions
diff --git a/src/core/arm/skyeye_common/vfp/vfpdouble.cpp b/src/core/arm/skyeye_common/vfp/vfpdouble.cpp
index 49c192dd3..e51927de5 100644
--- a/src/core/arm/skyeye_common/vfp/vfpdouble.cpp
+++ b/src/core/arm/skyeye_common/vfp/vfpdouble.cpp
@@ -140,11 +140,9 @@ u32 vfp_double_normaliseround(ARMul_State* state, int dd, struct vfp_double* vd,
if ((type & VFP_DENORMAL) && (fpscr & FPSCR_FLUSH_TO_ZERO)) {
// Flush denormal to positive 0
- exponent = 0;
significand = 0;
vd->sign = 0;
- vd->exponent = exponent;
vd->significand = significand;
underflow = 0;
diff --git a/src/core/arm/skyeye_common/vfp/vfpsingle.cpp b/src/core/arm/skyeye_common/vfp/vfpsingle.cpp
index 85dd0c6a0..99ab80145 100644
--- a/src/core/arm/skyeye_common/vfp/vfpsingle.cpp
+++ b/src/core/arm/skyeye_common/vfp/vfpsingle.cpp
@@ -143,11 +143,9 @@ u32 vfp_single_normaliseround(ARMul_State* state, int sd, struct vfp_single* vs,
if ((type & VFP_DENORMAL) && (fpscr & FPSCR_FLUSH_TO_ZERO)) {
// Flush denormal to positive 0
- exponent = 0;
significand = 0;
vs->sign = 0;
- vs->exponent = exponent;
vs->significand = significand;
underflow = 0;