mirror of
https://github.com/AuxXxilium/linux_dsm_epyc7002.git
synced 2024-12-28 11:18:45 +07:00
01127f1ead
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>
15 lines
245 B
Makefile
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
|