1 # SPDX-License-Identifier: GPL-2.0 !! 1 TEST_PROGS := fpu_syscall fpu_preempt fpu_signal vmx_syscall vmx_preempt vmx_signal vsx_preempt 2 TEST_GEN_PROGS := fpu_syscall fpu_preempt fpu_ << 3 2 4 top_srcdir = ../../../../.. !! 3 all: $(TEST_PROGS) 5 include ../../lib.mk !! 4 6 include ../flags.mk !! 5 $(TEST_PROGS): ../harness.c >> 6 $(TEST_PROGS): CFLAGS += -O2 -g -pthread -m64 -maltivec 7 7 8 $(TEST_GEN_PROGS): ../harness.c !! 8 fpu_syscall: fpu_asm.S 9 $(TEST_GEN_PROGS): CFLAGS += -O2 -g -pthread - !! 9 fpu_preempt: fpu_asm.S >> 10 fpu_signal: fpu_asm.S 10 11 11 $(OUTPUT)/fpu_syscall: fpu_asm.S !! 12 vmx_syscall: vmx_asm.S 12 $(OUTPUT)/fpu_preempt: fpu_asm.S !! 13 vmx_preempt: vmx_asm.S 13 $(OUTPUT)/fpu_signal: fpu_asm.S !! 14 vmx_signal: vmx_asm.S 14 15 15 $(OUTPUT)/vmx_syscall: vmx_asm.S ../utils.c !! 16 vsx_preempt: CFLAGS += -mvsx 16 $(OUTPUT)/vmx_preempt: vmx_asm.S ../utils.c !! 17 vsx_preempt: vsx_asm.S 17 $(OUTPUT)/vmx_signal: vmx_asm.S ../utils.c << 18 18 19 $(OUTPUT)/vsx_preempt: CFLAGS += -mvsx !! 19 include ../../lib.mk 20 $(OUTPUT)/vsx_preempt: vsx_asm.S ../utils.c << 21 20 22 $(OUTPUT)/mma: mma.c mma.S ../utils.c !! 21 clean: >> 22 rm -f $(TEST_PROGS) *.o
Linux® is a registered trademark of Linus Torvalds in the United States and other countries.
TOMOYO® is a registered trademark of NTT DATA CORPORATION.