2011-10-24 22:11:21 -04:00
|
|
|
#include <features.h>
|
|
|
|
|
2011-10-24 21:17:10 -04:00
|
|
|
#ifdef __FMA4__
|
2011-10-24 22:11:21 -04:00
|
|
|
# if __GNUC_PREREQ (4, 6)
|
|
|
|
# define DLA_FMS(x,y,z) \
|
|
|
|
__builtin_fma (x, y, -(z))
|
|
|
|
# else
|
|
|
|
# define DLA_FMS(x,y,z) \
|
2011-10-24 21:17:10 -04:00
|
|
|
({ double __z; \
|
|
|
|
asm ("vfmsubsd %3, %2, %1, %0" \
|
|
|
|
: "=x" (__z) \
|
|
|
|
: "x" ((double) (x)), "xm" ((double) (y)) , "x" ((double) (z))); \
|
|
|
|
__z; })
|
2011-10-24 22:11:21 -04:00
|
|
|
# endif
|
2011-10-23 12:50:28 -04:00
|
|
|
#endif
|
|
|
|
|
|
|
|
#include "sysdeps/ieee754/dbl-64/dla.h"
|