1# f7_c_*.o modules from libf7.c.
2F7_C_PARTS += set_s16 set_u16 set_s32 set_u32 init
3F7_C_PARTS += get_s16 get_u16 get_s32 get_u32 get_s64 get_u64
4F7_C_PARTS += lrint ldexp frexp madd_msub madd msub hypot
5F7_C_PARTS += addsub add sub mulx mul square divx div div1 fmod sqrt cbrt
6F7_C_PARTS += Ineg Iadd Isub Imul Idiv IRsub Isquare Ildexp Isqrt
7F7_C_PARTS += set_float get_float get_double set_double set_pdouble
8F7_C_PARTS += fabs neg fmin fmax minmax truncx trunc floor ceil round lround
9F7_C_PARTS += horner logx log log10 log2 exp pow10 pow powi
10F7_C_PARTS += sin cos tan cotan sincos sinh cosh tanh sinhcosh
11F7_C_PARTS += asinacos asin acos atan atan2
12F7_C_PARTS += abscmp_msb_ge cmp cmp_abs cmp_unordered
13
14F7_C_PARTS += const_1 const_1_2 const_1_3
15F7_C_PARTS += const_pi const_ln2 const_1_ln2 const_ln10 const_1_ln10 const_sqrt2
16F7_C_PARTS += # const_m1 const_2 const_sqrt2
17
18# f7_asm_*.o modules from libf7-asm.sx.
19F7_ASM_PARTS += classify clr mul_mant cmp_mant set_u64
20F7_ASM_PARTS += copy copy_P copy_mant clr_mant_lsbs
21F7_ASM_PARTS += addsub_mant_scaled store load
22F7_ASM_PARTS += to_integer to_unsigned clz normalize_with_carry normalize
23F7_ASM_PARTS += store_expo sqrt16 sqrt_approx div
24
25F7_ASM_PARTS += D_class
26F7_ASM_PARTS += D_isnan D_isinf D_isfinite D_signbit D_copysign D_neg D_fabs
27
28F7_ASM_PARTS += call_dd call_ddd
29
30# Stuff that will be wrapped in f7-wraps.h (included by libf7-asm.sx)
31# and give f7_asm_D_*.o modules.
32g_ddd += add sub mul div
33g_xdd_cmp += le lt ge gt ne eq unord
34g_dx += floatunsidf floatsidf extendsfdf2
35g_xd += fixdfsi fixdfdi fixunsdfdi fixunsdfsi truncdfsf2
36
37m_ddd += pow fmin fmax fmod hypot atan2
38m_ddx += ldexp frexp
39m_dd += sqrt cbrt exp exp10 pow10 log log10 log2 sin cos tan cotan asin acos atan
40m_dd += ceil floor trunc round sinh cosh tanh
41m_xd += lrint lround
42
43# -mcall-prologues
44CALL_PROLOGUES += divx sqrt cbrt get_double set_double logx exp exp10 pow10
45CALL_PROLOGUES += put_C truncx round minmax sincos tan cotan pow powi fmod
46CALL_PROLOGUES += atan asinacos madd_msub hypot init horner sinhcosh tanh
47
48# -mstrict-X
49STRICT_X += log addsub truncx ldexp exp
50
51# Renames used when building f7-renames.h.
52F7F += fabs neg add sub addsub div div1 divx fmod sqrt cbrt
53F7F += square mul mulx madd_msub madd msub hypot
54F7F += Ineg Iadd Isub Imul Idiv IRsub Isquare Ildexp Isqrt
55F7F += le lt gt ge ne eq cmp cmp_abs ordered unordered cmp_unordered
56F7F += lt_impl gt_impl le_impl ge_impl eq_impl ne_impl unord_impl
57
58F7F += lrint ldexp frexp exp logx log log10 log2
59F7F += minmax fmax fmin floor ceil round lround trunc truncx
60F7F += horner pow10 exp10 pow powi
61F7F += sin cos tan cotan sincos sinh cosh tanh sinhcosh
62F7F += asinacos asin acos atan atan2
63F7F += mul_noround sqrt16_round sqrt16_floor
64F7F += clr_mant_lsbs abscmp_msb_ge lshrdi3 ashldi3
65F7F += assert
66
67F7F += classify
68
69F7F += class_inf class_nan class_number class_zero class_nonzero class_sign
70F7F += signbit set_sign set_nan set_inf
71F7F += is_inf is_nan is_number is_zero is_nonzero
72F7F += clr copy copy_P copy_mant msbit is0 cmp_mant store_expo
73F7F += abs
74
75F7F += set_s64 set_s32 set_s16 set_s16_impl set_u16_worker
76F7F += set_u64 set_u32 set_u16 set_u16_impl
77F7F += set_float set_pdouble set_double_impl set_double init_impl init
78F7F += get_s16 get_s32 get_s64 get_float
79F7F += get_u16 get_u32 get_u64 get_double
80
81F7F += set_eps set_1pow2
82
83# Renames for ALIASes without own module.
84F7F += min max exp10
85F7F += floatunsidf floatsidf extendsfdf2
86F7F += fixdfsi fixdfdi fixunsdfdi fixunsdfsi truncdfsf2
87
88# Renames for f7-const.def.
89F7F_cst += 1 2 1_2 1_3 m1 pi ln2 ln10 1_ln2 1_ln10 sqrt2
90
91F7F_asm += classify
92F7F_asm += store_expo clr copy copy_P copy_mant
93F7F_asm += cmp_mant normalize store_expo
94F7F_asm += set_u64 set_s64 addsub_mant_scaled mul_mant
95F7F_asm += to_integer to_unsigned clr_mant_lsbs
96F7F_asm += div sqrt_approx sqrt16_round sqrt16_floor
97F7F_asm += lshrdi3 ashldi3
98
99F7F_asm += class_D
100
101F7F_asm += call_ddd call_xdd call_ddx
102F7F_asm += call_dd  call_xd  call_dx
103