about summary refs log tree commit diff
path: root/sysdeps/sparc/sparc64/soft-fp/qp_flt.c
diff options
context:
space:
mode:
Diffstat (limited to 'sysdeps/sparc/sparc64/soft-fp/qp_flt.c')
-rw-r--r--sysdeps/sparc/sparc64/soft-fp/qp_flt.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/sysdeps/sparc/sparc64/soft-fp/qp_flt.c b/sysdeps/sparc/sparc64/soft-fp/qp_flt.c
index a4c8e05a0a..c03cd72516 100644
--- a/sysdeps/sparc/sparc64/soft-fp/qp_flt.c
+++ b/sysdeps/sparc/sparc64/soft-fp/qp_flt.c
@@ -31,9 +31,7 @@ int _Qp_flt(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, 3);
-  if (r == 3)
-    FP_SET_EXCEPTION(FP_EX_INVALID);
+  FP_CMP_Q(r, B, A, 3, 2);
 
   QP_HANDLE_EXCEPTIONS(
 	__asm (