1# SPDX-License-Identifier: GPL-2.0 2math-emu-common-objs = math.o fre.o fsqrt.o fsqrts.o frsqrtes.o mtfsf.o mtfsfi.o 3obj-$(CONFIG_MATH_EMULATION_HW_UNIMPLEMENTED) += $(math-emu-common-objs) 4obj-$(CONFIG_MATH_EMULATION_FULL) += $(math-emu-common-objs) fabs.o fadd.o \ 5 fadds.o fcmpo.o fcmpu.o fctiw.o \ 6 fctiwz.o fdiv.o fdivs.o fmadd.o \ 7 fmadds.o fmsub.o fmsubs.o fmul.o \ 8 fmuls.o fnabs.o fneg.o fnmadd.o \ 9 fnmadds.o fnmsub.o fnmsubs.o fres.o \ 10 frsp.o fsel.o lfs.o frsqrte.o fsub.o \ 11 fsubs.o mcrfs.o mffs.o mtfsb0.o \ 12 mtfsb1.o stfiwx.o stfs.o math.o \ 13 fmr.o lfd.o stfd.o 14 15obj-$(CONFIG_SPE) += math_efp.o 16 17CFLAGS_fabs.o = -fno-builtin-fabs 18CFLAGS_math.o = -fno-builtin-fabs 19 20ccflags-y = -I. -Iinclude/math-emu -w 21