git.openpandora.org
/
pandora-kernel.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
[ARM] 3758/1: Preserve signalling NaNs in conversion
[pandora-kernel.git]
/
arch
/
arm
/
vfp
/
vfpsingle.c
diff --git
a/arch/arm/vfp/vfpsingle.c
b/arch/arm/vfp/vfpsingle.c
index
5bbd5d1
..
78d7cac
100644
(file)
--- a/
arch/arm/vfp/vfpsingle.c
+++ b/
arch/arm/vfp/vfpsingle.c
@@
-506,7
+506,7
@@
static u32 vfp_single_fcvtd(int dd, int unused, s32 m, u32 fpscr)
*/
if (tm & (VFP_INFINITY|VFP_NAN)) {
vdd.exponent = 2047;
- if (tm
& VFP_
NAN)
+ if (tm
== VFP_Q
NAN)
vdd.significand |= VFP_DOUBLE_SIGNIFICAND_QNAN;
goto pack_nan;
} else if (tm & VFP_ZERO)