selftests/powerpc: Test FPU and VMX regs in signal ucontext
authorCyril Bur <cyrilbur@gmail.com>
Mon, 29 Feb 2016 06:53:45 +0000 (17:53 +1100)
committerMichael Ellerman <mpe@ellerman.id.au>
Wed, 2 Mar 2016 12:34:47 +0000 (23:34 +1100)
commit48e8c571a4f86978c72c2aa799dc7436d1c38c77
tree8d5515335385d378414a2e64c5585170f6ff1520
parente5ab8be68e4421d7f8d4e69e2a8ddb3d69508d2a
selftests/powerpc: Test FPU and VMX regs in signal ucontext

Load up the non volatile FPU and VMX regs and ensure that they are the
expected value in a signal handler

Signed-off-by: Cyril Bur <cyrilbur@gmail.com>
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
tools/testing/selftests/powerpc/math/.gitignore
tools/testing/selftests/powerpc/math/Makefile
tools/testing/selftests/powerpc/math/fpu_signal.c [new file with mode: 0644]
tools/testing/selftests/powerpc/math/vmx_signal.c [new file with mode: 0644]