about summary refs log tree commit diff
path: root/soft-fp/op-common.h
diff options
context:
space:
mode:
authorJoseph Myers <joseph@codesourcery.com>2013-10-17 12:36:02 +0000
committerJoseph Myers <joseph@codesourcery.com>2013-10-17 12:36:02 +0000
commite5c2c2d0c0315ca24cc9cd638cdb1a2d8dcc4b0d (patch)
tree56b8e56352c9f4f06ed9935cd0d9000d622d8d15 /soft-fp/op-common.h
parent51ca9e29af1a71b7dc175b78ee2d3564f9416fab (diff)
downloadglibc-e5c2c2d0c0315ca24cc9cd638cdb1a2d8dcc4b0d.tar.gz
glibc-e5c2c2d0c0315ca24cc9cd638cdb1a2d8dcc4b0d.tar.xz
glibc-e5c2c2d0c0315ca24cc9cd638cdb1a2d8dcc4b0d.zip
soft-fp: make extensions quiet signaling NaNs (bug 16041).
Diffstat (limited to 'soft-fp/op-common.h')
-rw-r--r--soft-fp/op-common.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/soft-fp/op-common.h b/soft-fp/op-common.h
index 9a9a8f5256..67cdc33b4c 100644
--- a/soft-fp/op-common.h
+++ b/soft-fp/op-common.h
@@ -1505,6 +1505,7 @@
 		    FP_SET_EXCEPTION (FP_EX_INVALID);			\
 		  _FP_FRAC_SLL_##dwc (D, (_FP_FRACBITS_##dfs		\
 					  - _FP_FRACBITS_##sfs));	\
+		  _FP_SETQNAN (dfs, dwc, D);				\
 		}							\
 	    }								\
 	}								\