powerpc/sstep: Add tests for prefixed floating-point load/stores
authorJordan Niethe <jniethe5@gmail.com>
Mon, 25 May 2020 02:59:20 +0000 (12:59 +1000)
committerMichael Ellerman <mpe@ellerman.id.au>
Thu, 23 Jul 2020 07:25:12 +0000 (17:25 +1000)
commit0396de6d8561c721b03fce386eb9682b37a26013
tree35b30d5b73d08bf1c8968edccb530796b9b59f5c
parentb6b54b42722a2393056c891c0d05cd8cc40eb776
powerpc/sstep: Add tests for prefixed floating-point load/stores

Add tests for the prefixed versions of the floating-point load/stores
that are currently tested. This includes the following instructions:
  * Prefixed Load Floating-Point Single (plfs)
  * Prefixed Load Floating-Point Double (plfd)
  * Prefixed Store Floating-Point Single (pstfs)
  * Prefixed Store Floating-Point Double (pstfd)

Skip the new tests if ISA v3.10 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-2-jniethe5@gmail.com
arch/powerpc/include/asm/ppc-opcode.h
arch/powerpc/lib/test_emulate_step.c