From c1dfd7e61086c01d668af124956235bb09b26790 Mon Sep 17 00:00:00 2001 From: Jakub Jelinek Date: Thu, 10 May 2007 06:31:20 +0000 Subject: * sysdeps/ia64/fpu/fraiseexcpt.c (feraiseexcept): Don't raise overflow exception in addition to inexact when asked to raise only FE_INEXACT. * sysdeps/ia64/fpu/fraiseexcpt.c (feraiseexcept): Don't raise overflow exception in addition to inexact when asked to raise only FE_INEXACT. --- sysdeps/ia64/fpu/fraiseexcpt.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'sysdeps/ia64') diff --git a/sysdeps/ia64/fpu/fraiseexcpt.c b/sysdeps/ia64/fpu/fraiseexcpt.c index 3086ded..12b29ee 100644 --- a/sysdeps/ia64/fpu/fraiseexcpt.c +++ b/sysdeps/ia64/fpu/fraiseexcpt.c @@ -1,5 +1,6 @@ /* Raise given exceptions. - Copyright (C) 1997, 1998, 2000, 2001, 2002 Free Software Foundation, Inc. + Copyright (C) 1997, 1998, 2000, 2001, 2002, 2007 + Free Software Foundation, Inc. This file is part of the GNU C Library. Contributed by Jes Sorensen , 2000. @@ -70,7 +71,7 @@ feraiseexcept (int excepts) if (FE_INEXACT & excepts) { dummy = DBL_MAX; - __asm__ __volatile__ ("fadd.d.s0 %0=%1,f1" : "=f" (dummy) : "0" (dummy)); + __asm__ __volatile__ ("fsub.d.s0 %0=%1,f1" : "=f" (dummy) : "0" (dummy)); } /* Success. */ -- cgit v1.1