xref: /linux/tools/testing/selftests/powerpc/math/Makefile (revision 1f9bb31e58118e14ab66239796f2fbe633e1ad32)
1b2441318SGreg Kroah-Hartman# SPDX-License-Identifier: GPL-2.0
2*1f9bb31eSNicholas PigginTEST_GEN_PROGS := fpu_syscall fpu_preempt fpu_signal fpu_denormal vmx_syscall vmx_preempt vmx_signal vsx_preempt
301127f1eSCyril Bur
47e0cf1c9SMichael 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