summary refs log tree commit diff
path: root/soft-fp/op-4.h
diff options
context:
space:
mode:
authorJakub Jelinek <jakub@redhat.com>2007-01-17 10:42:43 +0000
committerJakub Jelinek <jakub@redhat.com>2007-01-17 10:42:43 +0000
commitaf98d46f5a025ae33c60ddb1a5edc753fb714bc5 (patch)
tree24a3c5cb0bfc6163b52ae74ac205f0e175beee87 /soft-fp/op-4.h
parent1f09da09fed864c91288ff91295114fa5202edaa (diff)
downloadglibc-af98d46f5a025ae33c60ddb1a5edc753fb714bc5.tar.gz
glibc-af98d46f5a025ae33c60ddb1a5edc753fb714bc5.tar.xz
glibc-af98d46f5a025ae33c60ddb1a5edc753fb714bc5.zip
Updated to fedora-glibc-20070117T0857
Diffstat (limited to 'soft-fp/op-4.h')
-rw-r--r--soft-fp/op-4.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/soft-fp/op-4.h b/soft-fp/op-4.h
index 34f5098e8c..1b90535c56 100644
--- a/soft-fp/op-4.h
+++ b/soft-fp/op-4.h
@@ -564,7 +564,7 @@
     r1 = x1 - y1;						\
     _c2 = r1 > x1;						\
     r1 -= _c1;							\
-    _c2 |= r1 > _c1;						\
+    _c2 |= _c1 && (y1 == x1);					\
     r2 = x2 - y2 - _c2;						\
   } while (0)
 #endif
@@ -578,11 +578,11 @@
     r1 = x1 - y1;						\
     _c2 = r1 > x1;						\
     r1 -= _c1;							\
-    _c2 |= r1 > _c1;						\
+    _c2 |= _c1 && (y1 == x1);					\
     r2 = x2 - y2;						\
     _c3 = r2 > x2;						\
     r2 -= _c2;							\
-    _c3 |= r2 > _c2;						\
+    _c3 |= _c2 && (y2 == x2);					\
     r3 = x3 - y3 - _c3;						\
   } while (0)
 #endif