1 # Support for adding __float128 hardware support to the powerpc.
2 # Tell the float128 functions that the ISA 3.1 hardware support can
3 # be compiled it to be selected via IFUNC functions.
5 FLOAT128_HW_INSNS += -DFLOAT128_HW_INSNS_ISA3_1
7 # New functions for hardware support
9 fp128_3_1_hw_funcs = float128-p10
10 fp128_3_1_hw_src = $(srcdir)/config/rs6000/float128-p10.c
11 fp128_3_1_hw_static_obj = $(addsuffix $(objext),$(fp128_3_1_hw_funcs))
12 fp128_3_1_hw_shared_obj = $(addsuffix _s$(objext),$(fp128_3_1_hw_funcs))
13 fp128_3_1_hw_obj = $(fp128_3_1_hw_static_obj) $(fp128_3_1_hw_shared_obj)
15 # Build the hardware support functions with appropriate hardware support
16 FP128_3_1_CFLAGS_HW = -Wno-type-limits -mvsx -mfloat128 \
18 -mfloat128-hardware -mno-gnu-attribute \
20 -I$(srcdir)/config/rs6000 \
23 $(fp128_3_1_hw_obj) : INTERNAL_CFLAGS += $(FP128_3_1_CFLAGS_HW)
24 $(fp128_3_1_hw_obj) : $(srcdir)/config/rs6000/t-float128-p10-hw