xref: /linux/tools/testing/selftests/powerpc/math/Makefile (revision 7e0cf1c983b5b24426d130fd949a055d520acc9a)
1b2441318SGreg Kroah-Hartman# SPDX-License-Identifier: GPL-2.0
288baa78dSbamvor.zhangjian@huawei.comTEST_GEN_PROGS := fpu_syscall fpu_preempt fpu_signal vmx_syscall vmx_preempt vmx_signal vsx_preempt
301127f1eSCyril Bur
4*7e0cf1c9SMichael Ellermantop_srcdir = ../../../../..
588baa78dSbamvor.zhangjian@huawei.cominclude ../../lib.mk
601127f1eSCyril Bur
788baa78dSbamvor.zhangjian@huawei.com$(TEST_GEN_PROGS): ../harness.c
888baa78dSbamvor.zhangjian@huawei.com$(TEST_GEN_PROGS): CFLAGS += -O2 -g -pthread -m64 -maltivec
901127f1eSCyril Bur
1068bd42d9SMichael Ellerman$(OUTPUT)/fpu_syscall: fpu_asm.S
1168bd42d9SMichael Ellerman$(OUTPUT)/fpu_preempt: fpu_asm.S
1268bd42d9SMichael Ellerman$(OUTPUT)/fpu_signal:  fpu_asm.S
13e5ab8be6SCyril Bur
1468bd42d9SMichael Ellerman$(OUTPUT)/vmx_syscall: vmx_asm.S
1568bd42d9SMichael Ellerman$(OUTPUT)/vmx_preempt: vmx_asm.S
1668bd42d9SMichael Ellerman$(OUTPUT)/vmx_signal: vmx_asm.S
1701127f1eSCyril Bur
1868bd42d9SMichael Ellerman$(OUTPUT)/vsx_preempt: CFLAGS += -mvsx
1968bd42d9SMichael Ellerman$(OUTPUT)/vsx_preempt: vsx_asm.S
20