linux_dsm_epyc7002/tools/testing/selftests/powerpc/math/Makefile
Cyril Bur 01127f1ead selftests/powerpc: Test the preservation of FPU and VMX regs across syscall
Test that the non volatile floating point and Altivec registers get
correctly preserved across the fork() syscall.

fork() works nicely for this purpose, the registers should be the same for
both parent and child

Signed-off-by: Cyril Bur <cyrilbur@gmail.com>
[mpe: Add include guards to basic_asm.h, minor formatting]
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
2016-03-02 23:34:46 +11:00

15 lines
245 B
Makefile

TEST_PROGS := fpu_syscall vmx_syscall
all: $(TEST_PROGS)
$(TEST_PROGS): ../harness.c
$(TEST_PROGS): CFLAGS += -O2 -g -pthread -m64 -maltivec
fpu_syscall: fpu_asm.S
vmx_syscall: vmx_asm.S
include ../../lib.mk
clean:
rm -f $(TEST_PROGS) *.o