OSDN Git Service

selftests/powerpc: Remove Power9 copy_unaligned test
authorMichael Ellerman <mpe@ellerman.id.au>
Wed, 11 Jul 2018 07:10:15 +0000 (17:10 +1000)
committerMichael Ellerman <mpe@ellerman.id.au>
Fri, 20 Jul 2018 02:50:51 +0000 (12:50 +1000)
commit83039f22ba2f6aff935a2acbb6bf671374e8317d
treefe979ce494d6b3d90b0c688aa1613e323b79e598
parentec9336396a98f61290f45e8bb942458a1b2f299b
selftests/powerpc: Remove Power9 copy_unaligned test

This is a test of the ISA 3.0 "copy" instruction. That instruction has
an L field, which if set to 1 specifies that "the instruction
identifies the beginning of a move group" (pp 858). That's also
referred to as "copy first" vs "copy".

In ISA 3.0B the copy instruction does not have an L field, and the
corresponding bit in the instruction must be set to 1.

This test is generating a "copy" instruction, not a "copy first", and
so on Power9 (which implements 3.0B), this results in an illegal
instruction.

So just drop the test entirely. We still have copy_first_unaligned to
test the "copy first" behaviour.

Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
Acked-by: Michael Neuling <mikey@neuling.org>
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
tools/testing/selftests/powerpc/alignment/.gitignore
tools/testing/selftests/powerpc/alignment/Makefile
tools/testing/selftests/powerpc/alignment/copy_unaligned.c [deleted file]