ldbl-128 fmal compile fix

This commit is contained in:
Jakub Jelinek 2010-11-22 15:38:35 -05:00 committed by Ulrich Drepper
parent 6db52fbb27
commit 3bf8d1b10c
2 changed files with 5 additions and 1 deletions

View File

@ -1,3 +1,7 @@
2010-10-20 Jakub Jelinek <jakub@redhat.com>
* sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
2010-05-31 Petr Baudis <pasky@suse.cz>
[BZ #11149]

View File

@ -176,7 +176,7 @@ __fmal (long double x, long double y, long double z)
u.ieee.mantissa3 |= fetestexcept (FE_INEXACT) != 0;
v.d = a1 + u.d;
/* Ensure the addition is not scheduled after fetestexcept call. */
asm volatile ("" : "m" (v));
asm volatile ("" : : "m" (v));
int j = fetestexcept (FE_INEXACT) != 0;
feupdateenv (&env);
/* Ensure the following computations are performed in default rounding