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