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-10 11:38:56 +0000
committerJoseph Myers <joseph@codesourcery.com>2013-10-10 11:38:56 +0000
commit2ae21ed2d2e2e0e38b84bd046bcf5f009ab417f3 (patch)
tree6601496a93918a878fa9f609341f2d08c88756f0 /soft-fp/op-common.h
parentcb8f9562a53b54ffbcc0b4ba4a6ac5e56b05beb2 (diff)
downloadglibc-2ae21ed2d2e2e0e38b84bd046bcf5f009ab417f3.tar.gz
glibc-2ae21ed2d2e2e0e38b84bd046bcf5f009ab417f3.tar.xz
glibc-2ae21ed2d2e2e0e38b84bd046bcf5f009ab417f3.zip
soft-fp: fix negation NaN handling (bug 16034).
Diffstat (limited to 'soft-fp/op-common.h')
-rw-r--r--soft-fp/op-common.h4
1 files changed, 1 insertions, 3 deletions
diff --git a/soft-fp/op-common.h b/soft-fp/op-common.h
index 75ea352bc7..5dfb73c185 100644
--- a/soft-fp/op-common.h
+++ b/soft-fp/op-common.h
@@ -771,14 +771,12 @@ do {									 \
 
 
 /*
- * Main negation routine.  FIXME -- when we care about setting exception
- * bits reliably, this will not do.  We should examine all of the fp classes.
+ * Main negation routine.  The input value is raw.
  */
 
 #define _FP_NEG(fs, wc, R, X)		\
   do {					\
     _FP_FRAC_COPY_##wc(R, X);		\
-    R##_c = X##_c;			\
     R##_e = X##_e;			\
     R##_s = 1 ^ X##_s;			\
   } while (0)