projects
/
powerpc.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
[powerpc.git]
/
arch
/
arm
/
vfp
/
vfpdouble.c
diff --git
a/arch/arm/vfp/vfpdouble.c
b/arch/arm/vfp/vfpdouble.c
index
0215816
..
04bd342
100644
(file)
--- a/
arch/arm/vfp/vfpdouble.c
+++ b/
arch/arm/vfp/vfpdouble.c
@@
-465,7
+465,7
@@
static u32 vfp_double_fcvts(int sd, int unused, int dm, u32 fpscr)
*/
if (tm & (VFP_INFINITY|VFP_NAN)) {
vsd.exponent = 255;
- if (tm
& VFP_
NAN)
+ if (tm
== VFP_Q
NAN)
vsd.significand |= VFP_SINGLE_SIGNIFICAND_QNAN;
goto pack_nan;
} else if (tm & VFP_ZERO)