xref: /netbsd-src/external/gpl3/gcc.old/dist/libgcc/config/riscv/t-softfp32 (revision 4d6fc14bc9b0c5bf3e30be318c143ee82cadd108)
1ABI_SINGLE:=$(findstring __riscv_float_abi_single,$(shell $(gcc_compile_bare) -dM -E - </dev/null))
2ABI_DOUBLE:=$(findstring __riscv_float_abi_double,$(shell $(gcc_compile_bare) -dM -E - </dev/null))
3ABI_QUAD:=$(findstring __riscv_float_abi_quad,$(shell $(gcc_compile_bare) -dM -E - </dev/null))
4
5softfp_int_modes := si di
6softfp_exclude_libgcc2 := n
7
8ifndef ABI_QUAD
9ifdef ABI_DOUBLE
10
11softfp_float_modes := tf
12softfp_extensions := sftf dftf
13softfp_truncations := tfsf tfdf
14
15else
16
17softfp_float_modes := df tf
18softfp_extensions := sfdf sftf dftf
19softfp_truncations := dfsf tfsf tfdf
20
21ifndef ABI_SINGLE
22softfp_float_modes += sf
23endif
24
25endif
26endif
27