1 ABI_SINGLE:=$(findstring __riscv_float_abi_single,$(shell $(gcc_compile_bare) -dM -E - </dev/null))
2 ABI_DOUBLE:=$(findstring __riscv_float_abi_double,$(shell $(gcc_compile_bare) -dM -E - </dev/null))
3 ABI_QUAD:=$(findstring __riscv_float_abi_quad,$(shell $(gcc_compile_bare) -dM -E - </dev/null))
5 softfp_int_modes := si di
6 softfp_exclude_libgcc2 := n
11 softfp_float_modes := tf
12 softfp_extensions := sftf dftf
13 softfp_truncations := tfsf tfdf
15 # Enable divide routines to make -mno-fdiv work.
16 softfp_extras += divsf3 divdf3
21 softfp_float_modes := df tf
22 softfp_extensions := sfdf sftf dftf
23 softfp_truncations := dfsf tfsf tfdf
26 softfp_float_modes += sf
30 # Enable divide routines to make -mno-fdiv work.
31 softfp_extras += divsf3
40 # Enable divide routines to make -mno-fdiv work.
41 softfp_extras += divsf3 divdf3 divtf3
45 softfp_extensions += hfsf hfdf hftf \
47 softfp_truncations += tfhf dfhf sfhf \
50 softfp_extras += fixhfsi fixhfdi fixunshfsi fixunshfdi \
51 floatsihf floatdihf floatunsihf floatundihf \
52 floatsibf floatdibf floatunsibf floatundibf