mirror of
git://sourceware.org/git/glibc.git
synced 2024-11-21 01:12:26 +08:00
Use libm_alias_float for dbl-64 fmaf.
This patch makes the implementation of fmaf in the dbl-64 directory use libm_alias float. Tested for x86_64, and verified with build-many-glibcs.py that installed stripped shared libraries are unchanged by this patch. * sysdeps/ieee754/dbl-64/s_fmaf.c: Include <libm-alias-float.h>. [!__fmaf] (fmaf): Define using libm_alias_float.
This commit is contained in:
parent
39793865ec
commit
7f1cbdf8ed
@ -1,5 +1,8 @@
|
||||
2017-10-03 Joseph Myers <joseph@codesourcery.com>
|
||||
|
||||
* sysdeps/ieee754/dbl-64/s_fmaf.c: Include <libm-alias-float.h>.
|
||||
[!__fmaf] (fmaf): Define using libm_alias_float.
|
||||
|
||||
* sysdeps/ieee754/dbl-64/s_frexp.c: Include <libm-alias-double.h>.
|
||||
(frexp): Define using libm_alias_double.
|
||||
* sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Include
|
||||
|
@ -21,6 +21,7 @@
|
||||
#include <fenv.h>
|
||||
#include <ieee754.h>
|
||||
#include <math_private.h>
|
||||
#include <libm-alias-float.h>
|
||||
|
||||
/* This implementation relies on double being more than twice as
|
||||
precise as float and uses rounding to odd in order to avoid problems
|
||||
@ -60,5 +61,5 @@ __fmaf (float x, float y, float z)
|
||||
return (float) u.d;
|
||||
}
|
||||
#ifndef __fmaf
|
||||
weak_alias (__fmaf, fmaf)
|
||||
libm_alias_float (__fma, fma)
|
||||
#endif
|
||||
|
Loading…
Reference in New Issue
Block a user