powerpc/sstep: Add tests for prefixed integer load/stores
authorJordan Niethe <jniethe5@gmail.com>
Mon, 25 May 2020 02:59:19 +0000 (12:59 +1000)
committerMichael Ellerman <mpe@ellerman.id.au>
Thu, 23 Jul 2020 07:25:06 +0000 (17:25 +1000)
commitb6b54b42722a2393056c891c0d05cd8cc40eb776
tree3a0cffd4f9b0dfec34e46114749cfbae4ed5fa3e
parent1cade527f6e9bec6a6412d0641643c359ada8096
powerpc/sstep: Add tests for prefixed integer load/stores

Add tests for the prefixed versions of the integer load/stores that
are currently tested. This includes the following instructions:
  * Prefixed Load Doubleword (pld)
  * Prefixed Load Word and Zero (plwz)
  * Prefixed Store Doubleword (pstd)

Skip the new tests if ISA v3.1 is unsupported.

Signed-off-by: Jordan Niethe <jniethe5@gmail.com>
[mpe: Fix conflicts with ppc-opcode.h changes]
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
Link: https://lore.kernel.org/r/20200525025923.19843-1-jniethe5@gmail.com
arch/powerpc/include/asm/ppc-opcode.h
arch/powerpc/lib/test_emulate_step.c