Clean up last dla.h change
This commit is contained in:
parent
246ad57ad6
commit
c8b3296bbe
14
ChangeLog
14
ChangeLog
@ -1,3 +1,17 @@
|
||||
2011-10-23 Ulrich Drepper <drepper@gmail.com>
|
||||
|
||||
* sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
|
||||
* sysdeps/x86_64/dla.h: ...here. New file.
|
||||
* sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
|
||||
* sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
|
||||
* sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
|
||||
* sysdeps/ieee754/dbl-64/e_log.c: Likewise.
|
||||
* sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
|
||||
* sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
|
||||
* sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
|
||||
* sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
|
||||
* sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
|
||||
|
||||
2011-10-23 Andreas Schwab <schwab@linux-m68k.org>
|
||||
|
||||
* sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
|
||||
|
@ -35,18 +35,6 @@
|
||||
/* IEEE double. */
|
||||
/***********************************************************************/
|
||||
|
||||
/* We can use fma instructions if available. */
|
||||
#if defined __x86_64__ || (defined __i386__ && defined __SSE2_MATH__)
|
||||
# ifdef __FMA4__
|
||||
# define DLA_FMA(x,y,z) \
|
||||
({ double __zz; \
|
||||
asm ("vfmsubsd %3, %2, %1, %0" \
|
||||
: "=x" (__zz) : "x" (x), "xm" (y), "x" (z)); \
|
||||
__zz; })
|
||||
# endif
|
||||
#endif
|
||||
|
||||
|
||||
/* CN = 1+2**27 = '41a0000002000000' IEEE double format */
|
||||
#define CN 134217729.0
|
||||
|
||||
|
@ -31,7 +31,7 @@
|
||||
|
||||
#include "endian.h"
|
||||
#include "mydefs.h"
|
||||
#include "dla.h"
|
||||
#include <dla.h>
|
||||
#include "math_private.h"
|
||||
|
||||
/********************************************************************/
|
||||
|
@ -36,7 +36,7 @@
|
||||
#include "endian.h"
|
||||
#include "mydefs.h"
|
||||
#include "sincos.tbl"
|
||||
#include "dla.h"
|
||||
#include <dla.h>
|
||||
#include "dosincos.h"
|
||||
#include "math_private.h"
|
||||
|
||||
|
@ -37,7 +37,7 @@
|
||||
/* */
|
||||
/************************************************************************/
|
||||
|
||||
#include "dla.h"
|
||||
#include <dla.h>
|
||||
#include "mpa.h"
|
||||
#include "MathLib.h"
|
||||
#include "uatan.tbl"
|
||||
|
@ -36,7 +36,7 @@
|
||||
|
||||
|
||||
#include "endian.h"
|
||||
#include "dla.h"
|
||||
#include <dla.h>
|
||||
#include "mpa.h"
|
||||
#include "MathLib.h"
|
||||
#include "math_private.h"
|
||||
|
@ -37,7 +37,7 @@
|
||||
/***************************************************************************/
|
||||
#include "endian.h"
|
||||
#include "upow.h"
|
||||
#include "dla.h"
|
||||
#include <dla.h>
|
||||
#include "mydefs.h"
|
||||
#include "MathLib.h"
|
||||
#include "upow.tbl"
|
||||
|
@ -35,7 +35,7 @@
|
||||
|
||||
#include "endian.h"
|
||||
#include "mydefs.h"
|
||||
#include "dla.h"
|
||||
#include <dla.h>
|
||||
#include "MathLib.h"
|
||||
#include "root.tbl"
|
||||
#include "math_private.h"
|
||||
|
@ -37,7 +37,7 @@
|
||||
|
||||
#include "endian.h"
|
||||
#include "mydefs.h"
|
||||
#include "dla.h"
|
||||
#include <dla.h>
|
||||
#include "math_private.h"
|
||||
|
||||
static const int4 tab54[32] = {
|
||||
|
@ -37,7 +37,7 @@
|
||||
/* */
|
||||
/************************************************************************/
|
||||
|
||||
#include "dla.h"
|
||||
#include <dla.h>
|
||||
#include "mpa.h"
|
||||
#include "MathLib.h"
|
||||
#include "uatan.tbl"
|
||||
|
@ -36,7 +36,7 @@
|
||||
|
||||
#include <errno.h>
|
||||
#include "endian.h"
|
||||
#include "dla.h"
|
||||
#include <dla.h>
|
||||
#include "mpa.h"
|
||||
#include "MathLib.h"
|
||||
#include "math.h"
|
||||
|
9
sysdeps/x86_64/dla.h
Normal file
9
sysdeps/x86_64/dla.h
Normal file
@ -0,0 +1,9 @@
|
||||
#ifdef __FMA4__
|
||||
# define DLA_FMA(x,y,z) \
|
||||
({ double __zz; \
|
||||
asm ("vfmsubsd %3, %2, %1, %0" \
|
||||
: "=x" (__zz) : "x" (x), "xm" (y), "x" (z)); \
|
||||
__zz; })
|
||||
#endif
|
||||
|
||||
#include "sysdeps/ieee754/dbl-64/dla.h"
|
Loading…
Reference in New Issue
Block a user