aboutsummaryrefslogtreecommitdiff
path: root/sysdeps/x86_64/fpu/multiarch/e_asin.c
blob: 111a5b99bd042c9cb16978c51ba4b76398b076ba (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
#include <init-arch.h>
#include <math.h>
#include <math_private.h>

extern double __ieee754_acos_sse2 (double);
extern double __ieee754_asin_sse2 (double);
extern double __ieee754_acos_fma4 (double);
extern double __ieee754_asin_fma4 (double);

libm_ifunc (__ieee754_acos,
	    HAS_ARCH_FEATURE (FMA4_Usable)
	    ? __ieee754_acos_fma4
	    : __ieee754_acos_sse2);
strong_alias (__ieee754_acos, __acos_finite)

libm_ifunc (__ieee754_asin,
	    HAS_ARCH_FEATURE (FMA4_Usable)
	    ? __ieee754_asin_fma4
	    : __ieee754_asin_sse2);
strong_alias (__ieee754_asin, __asin_finite)

#define __ieee754_acos __ieee754_acos_sse2
#define __ieee754_asin __ieee754_asin_sse2


#include <sysdeps/ieee754/dbl-64/e_asin.c>