nptl: Add more coverage in tst-cancel4
[glibc.git] / sysdeps / ia64 / fpu / gen_import_file_list
blobb8bd6a54f37487411e0f1bef2f640c0ce41ba26d
1 #!/bin/sh
3 libm_dir=$1
5 import() {
6 # $1 = name
7 # $2 = source file-name
8 # $3 = destination file-name
9 echo "$1 $libm_dir/$2 $3"
12 import_c() {
13 # $1 = name
14 # $2 = source file-name
15 # $3 = destination file-name
16 echo "$1 $libm_dir/$2 $3"
19 dummy_files="
20 libm_cpu_defs.h
21 libm_error_codes.h
22 libm_support.h
23 libm_error.c
26 for f in $dummy_files
28 import_c DUMMY $f $f
29 done
31 import_c scalblnf scalblnf.c s_scalblnf.c
33 for f in acos acosh asin atanh cosh exp2 exp10 fmod log2 pow remainder \
34 scalb sinh sqrt; do
35 for t in "" f l; do
36 import $f$t $f$t.s e_$f$t.S
37 done
38 done
40 for f in atan2 exp; do
41 for t in "" f; do
42 import $f$t $f$t.s e_$f$t.S
43 done
44 done
45 import "atan" atan.s s_atan.S
46 import "atanf" atanf.s s_atanf.S
47 import "atan(2)?l" atanl.s s_atanl.S
48 import "exp(m1)?l" expl_m1.s s_expm1l.S
50 for t in "" f l; do
51 import "log(10)?$t" log$t.s e_log$t.S
52 import tgamma$t tgamma$t.s w_tgamma$t.S
53 import "(hypot|cabs)$t" hypot$t.s e_hypot$t.S
54 done
56 for f in asinh cbrt ceil erf erfc fabs floor \
57 ilogb log1p logb modf nearbyint nextafter nexttoward \
58 rint round significand fdim fma fmax tanh trunc; do
59 for t in "" f l; do
60 import $f$t $f$t.s s_$f$t.S
61 done
62 done
64 for t in "" f l; do
65 import "(tan|cot)$t" tancot$t.s s_tan$t.S
66 done
68 for t in "" f l; do
69 import "(sin|cos)$t" sincos$t.s s_cos$t.S
70 import_c frexp$t frexp$t.c s_frexp$t.c
71 import_c ldexp$t ldexp$t.c s_ldexp$t.c
72 import_c scalbn$t scalbn$t.c s_scalbn$t.c
73 done
75 import expm1 exp_m1.s s_expm1.S
76 import expm1f expf_m1.s s_expm1f.S
78 for f in frexp frexpf frexpl reduce; do
79 import __libm_$f libm_$f.s libm_$f.S
80 done
82 for t in "" f l; do
83 import __libm_ldexp$t libm_ldexp$t.s s_libm_ldexp$t.S
84 import "(__libm_)?(sincos|cis)$t" libm_sincos$t.s libm_sincos$t.S
85 import __libm_lgamma$t libm_lgamma$t.s libm_lgamma$t.S
86 import __libm_scalbn$t libm_scalbn$t.s s_libm_scalbn$t.S
87 done
88 import __libm_scalblnf libm_scalblnf.s libm_scalblnf.S
89 import "__libm_(sin|cos|sincos)_large" libm_sincos_large.s \
90 libm_sincos_large.S