1 # SPDX-License-Identifier: GPL-2.0 2 TEST_GEN_PROGS := fpu_syscall fpu_preempt fpu_signal vmx_syscall vmx_preempt vmx_signal vsx_preempt 3 4 include ../../lib.mk 5 6 $(TEST_GEN_PROGS): ../harness.c 7 $(TEST_GEN_PROGS): CFLAGS += -O2 -g -pthread -m64 -maltivec 8 9 $(OUTPUT)/fpu_syscall: fpu_asm.S 10 $(OUTPUT)/fpu_preempt: fpu_asm.S 11 $(OUTPUT)/fpu_signal: fpu_asm.S 12 13 $(OUTPUT)/vmx_syscall: vmx_asm.S 14 $(OUTPUT)/vmx_preempt: vmx_asm.S 15 $(OUTPUT)/vmx_signal: vmx_asm.S 16 17 $(OUTPUT)/vsx_preempt: CFLAGS += -mvsx 18 $(OUTPUT)/vsx_preempt: vsx_asm.S 19