From 2ae21ed2d2e2e0e38b84bd046bcf5f009ab417f3 Mon Sep 17 00:00:00 2001 From: Joseph Myers Date: Thu, 10 Oct 2013 11:38:56 +0000 Subject: soft-fp: fix negation NaN handling (bug 16034). --- soft-fp/negtf2.c | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) (limited to 'soft-fp/negtf2.c') diff --git a/soft-fp/negtf2.c b/soft-fp/negtf2.c index 1c08441..f51a621 100644 --- a/soft-fp/negtf2.c +++ b/soft-fp/negtf2.c @@ -33,15 +33,12 @@ TFtype __negtf2(TFtype a) { - FP_DECL_EX; FP_DECL_Q(A); FP_DECL_Q(R); TFtype r; - FP_UNPACK_Q(A, a); + FP_UNPACK_RAW_Q(A, a); FP_NEG_Q(R, A); - FP_PACK_Q(r, R); - FP_CLEAR_EXCEPTIONS; - FP_HANDLE_EXCEPTIONS; + FP_PACK_RAW_Q(r, R); return r; } -- cgit v1.1