selftests/powerpc/ptrace: Convert to load/store doubles
authorMichael Ellerman <mpe@ellerman.id.au>
Mon, 27 Jun 2022 14:02:34 +0000 (00:02 +1000)
committerMichael Ellerman <mpe@ellerman.id.au>
Mon, 25 Jul 2022 02:05:16 +0000 (12:05 +1000)
commit53fa86e7ece54cbb1fae1443bd6b348088d8ce7e
tree6769f94f52f257533267a6d659fa8aa0b8e2c050
parentaf9f3f31f6cc8e3f637f19189e83d99f3fdd96ad
selftests/powerpc/ptrace: Convert to load/store doubles

Some of the ptrace tests check the contents of floating pointer
registers. Currently these use float, which is always 4 bytes, but the
ptrace API supports saving/restoring 8 bytes per register, so switch to
using doubles to exercise the code more fully.

Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
Link: https://lore.kernel.org/r/20220627140239.2464900-8-mpe@ellerman.id.au
tools/testing/selftests/powerpc/include/reg.h
tools/testing/selftests/powerpc/lib/reg.S
tools/testing/selftests/powerpc/ptrace/ptrace-gpr.c
tools/testing/selftests/powerpc/ptrace/ptrace-gpr.h
tools/testing/selftests/powerpc/ptrace/ptrace-tm-gpr.c
tools/testing/selftests/powerpc/ptrace/ptrace-tm-spd-gpr.c
tools/testing/selftests/powerpc/ptrace/ptrace.h