about summary refs log tree commit diff
path: root/sysdeps/sparc/sparc64/soft-fp/qp_fle.c
diff options
context:
space:
mode:
Diffstat (limited to 'sysdeps/sparc/sparc64/soft-fp/qp_fle.c')
-rw-r--r--sysdeps/sparc/sparc64/soft-fp/qp_fle.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/sysdeps/sparc/sparc64/soft-fp/qp_fle.c b/sysdeps/sparc/sparc64/soft-fp/qp_fle.c
index 74f80f4131..f9151524f9 100644
--- a/sysdeps/sparc/sparc64/soft-fp/qp_fle.c
+++ b/sysdeps/sparc/sparc64/soft-fp/qp_fle.c
@@ -31,9 +31,7 @@ int _Qp_fle(const long double *a, const long double *b)
   FP_INIT_ROUNDMODE;
   FP_UNPACK_RAW_QP(A, a);
   FP_UNPACK_RAW_QP(B, b);
-  FP_CMP_Q(r, B, A, -2);
-  if (r == -2)
-    FP_SET_EXCEPTION(FP_EX_INVALID);
+  FP_CMP_Q(r, B, A, -2, 2);
 
   QP_HANDLE_EXCEPTIONS(
 	__asm (