1b2441318SGreg Kroah-Hartman# SPDX-License-Identifier: GPL-2.0 23527e1abSAlistair PoppleTEST_GEN_PROGS := fpu_syscall fpu_preempt fpu_signal fpu_denormal vmx_syscall vmx_preempt vmx_signal vsx_preempt mma 301127f1eSCyril Bur 47e0cf1c9SMichael Ellermantop_srcdir = ../../../../.. 588baa78dSbamvor.zhangjian@huawei.cominclude ../../lib.mk 6*108e5e68SMadhavan Srinivasaninclude ../flags.mk 701127f1eSCyril Bur 888baa78dSbamvor.zhangjian@huawei.com$(TEST_GEN_PROGS): ../harness.c 988baa78dSbamvor.zhangjian@huawei.com$(TEST_GEN_PROGS): CFLAGS += -O2 -g -pthread -m64 -maltivec 1001127f1eSCyril Bur 1168bd42d9SMichael Ellerman$(OUTPUT)/fpu_syscall: fpu_asm.S 1268bd42d9SMichael Ellerman$(OUTPUT)/fpu_preempt: fpu_asm.S 1368bd42d9SMichael Ellerman$(OUTPUT)/fpu_signal: fpu_asm.S 14e5ab8be6SCyril Bur 15872d11bcSMichael Ellerman$(OUTPUT)/vmx_syscall: vmx_asm.S ../utils.c 16872d11bcSMichael Ellerman$(OUTPUT)/vmx_preempt: vmx_asm.S ../utils.c 17872d11bcSMichael Ellerman$(OUTPUT)/vmx_signal: vmx_asm.S ../utils.c 1801127f1eSCyril Bur 1968bd42d9SMichael Ellerman$(OUTPUT)/vsx_preempt: CFLAGS += -mvsx 20872d11bcSMichael Ellerman$(OUTPUT)/vsx_preempt: vsx_asm.S ../utils.c 213527e1abSAlistair Popple 223527e1abSAlistair Popple$(OUTPUT)/mma: mma.c mma.S ../utils.c 23