soft-fp patch: more FP_CMP_UNORD_* definitions

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

soft-fp patch: more FP_CMP_UNORD_* definitions

Joseph Myers
I noticed that my previous soft-fp patch adding __unord* and
FP_CMP_UNORD_* was missing the FP_CMP_UNORD_* definitions in the
_FP_W_TYPE_SIZE >= 64 halves of double.h, extended.h, quad.h; it only had
the definitions in the _FP_W_TYPE_SIZE < 64 halves.  This patch adds the
missing definitions.

2006-01-29  Joseph S. Myers  <[hidden email]>

        * soft-fp/double.h (FP_CMP_UNORD_D): Also define in
        _FP_W_TYPE_SIZE >= 64 case.
        * soft-fp/extended.h (FP_CMP_UNORD_E): Likewise.
        * soft-fp/quad.h (FP_CMP_UNORD_Q): Likewise.

Index: soft-fp/double.h
===================================================================
RCS file: /cvs/glibc/libc/soft-fp/double.h,v
retrieving revision 1.3
diff -u -r1.3 double.h
--- soft-fp/double.h 6 Jan 2006 10:47:45 -0000 1.3
+++ soft-fp/double.h 29 Jan 2006 20:09:57 -0000
@@ -188,6 +188,7 @@
 
 #define FP_CMP_D(r,X,Y,un) _FP_CMP(D,1,r,X,Y,un)
 #define FP_CMP_EQ_D(r,X,Y) _FP_CMP_EQ(D,1,r,X,Y)
+#define FP_CMP_UNORD_D(r,X,Y) _FP_CMP_UNORD(D,1,r,X,Y)
 
 #define FP_TO_INT_D(r,X,rsz,rsg) _FP_TO_INT(D,1,r,X,rsz,rsg)
 #define FP_FROM_INT_D(X,r,rs,rt) _FP_FROM_INT(D,1,X,r,rs,rt)
Index: soft-fp/extended.h
===================================================================
RCS file: /cvs/glibc/libc/soft-fp/extended.h,v
retrieving revision 1.3
diff -u -r1.3 extended.h
--- soft-fp/extended.h 6 Jan 2006 10:47:45 -0000 1.3
+++ soft-fp/extended.h 29 Jan 2006 20:09:57 -0000
@@ -379,6 +379,7 @@
 
 #define FP_CMP_E(r,X,Y,un) _FP_CMP(E,2,r,X,Y,un)
 #define FP_CMP_EQ_E(r,X,Y) _FP_CMP_EQ(E,2,r,X,Y)
+#define FP_CMP_UNORD_E(r,X,Y) _FP_CMP_UNORD(E,2,r,X,Y)
 
 #define FP_TO_INT_E(r,X,rsz,rsg) _FP_TO_INT(E,2,r,X,rsz,rsg)
 #define FP_FROM_INT_E(X,r,rs,rt) _FP_FROM_INT(E,2,X,r,rs,rt)
Index: soft-fp/quad.h
===================================================================
RCS file: /cvs/glibc/libc/soft-fp/quad.h,v
retrieving revision 1.4
diff -u -r1.4 quad.h
--- soft-fp/quad.h 6 Jan 2006 10:47:45 -0000 1.4
+++ soft-fp/quad.h 29 Jan 2006 20:09:57 -0000
@@ -195,6 +195,7 @@
 
 #define FP_CMP_Q(r,X,Y,un) _FP_CMP(Q,2,r,X,Y,un)
 #define FP_CMP_EQ_Q(r,X,Y) _FP_CMP_EQ(Q,2,r,X,Y)
+#define FP_CMP_UNORD_Q(r,X,Y) _FP_CMP_UNORD(Q,2,r,X,Y)
 
 #define FP_TO_INT_Q(r,X,rsz,rsg) _FP_TO_INT(Q,2,r,X,rsz,rsg)
 #define FP_FROM_INT_Q(X,r,rs,rt) _FP_FROM_INT(Q,2,X,r,rs,rt)

--
Joseph S. Myers
[hidden email]