1b2441318SGreg Kroah-Hartman# SPDX-License-Identifier: GPL-2.0
21f9bb31eSNicholas 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
14872d11bcSMichael Ellerman$(OUTPUT)/vmx_syscall: vmx_asm.S ../utils.c
15872d11bcSMichael Ellerman$(OUTPUT)/vmx_preempt: vmx_asm.S ../utils.c
16872d11bcSMichael Ellerman$(OUTPUT)/vmx_signal: vmx_asm.S ../utils.c
1701127f1eSCyril Bur
1868bd42d9SMichael Ellerman$(OUTPUT)/vsx_preempt: CFLAGS += -mvsx
19872d11bcSMichael Ellerman$(OUTPUT)/vsx_preempt: vsx_asm.S ../utils.c
20