summaryrefslogtreecommitdiffstats
path: root/arch/arm/vfp/vfpdouble.c
diff options
context:
space:
mode:
authorGreg Kroah-Hartman <gregkh@linuxfoundation.org>2014-04-27 21:38:34 -0700
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2014-04-27 21:38:34 -0700
commit37aa48368f2508defb1976be62e1ed6ca4dde683 (patch)
tree59b606c740ddd10259fbf2248bb50498a319fa6d /arch/arm/vfp/vfpdouble.c
parent1da4f83c0c43f25baf356c4cc719255877da6b1e (diff)
parentd1db0eea852497762cab43b905b879dfcd3b8987 (diff)
downloadop-kernel-dev-37aa48368f2508defb1976be62e1ed6ca4dde683.zip
op-kernel-dev-37aa48368f2508defb1976be62e1ed6ca4dde683.tar.gz
Merge 3.15-rc3 into staging-next
Diffstat (limited to 'arch/arm/vfp/vfpdouble.c')
-rw-r--r--arch/arm/vfp/vfpdouble.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/arch/arm/vfp/vfpdouble.c b/arch/arm/vfp/vfpdouble.c
index 6cac43b..423f56d 100644
--- a/arch/arm/vfp/vfpdouble.c
+++ b/arch/arm/vfp/vfpdouble.c
@@ -866,6 +866,8 @@ vfp_double_multiply_accumulate(int dd, int dn, int dm, u32 fpscr, u32 negate, ch
vdp.sign = vfp_sign_negate(vdp.sign);
vfp_double_unpack(&vdn, vfp_get_double(dd));
+ if (vdn.exponent == 0 && vdn.significand)
+ vfp_double_normalise_denormal(&vdn);
if (negate & NEG_SUBTRACT)
vdn.sign = vfp_sign_negate(vdn.sign);
OpenPOWER on IntegriCloud