]> git.baikalelectronics.ru Git - kernel.git/commit
powerpc/test_emulate_step: Add negative tests for prefixed addi
authorBalamuruhan S <bala24@linux.ibm.com>
Fri, 26 Jun 2020 09:51:56 +0000 (15:21 +0530)
committerMichael Ellerman <mpe@ellerman.id.au>
Thu, 23 Jul 2020 07:43:07 +0000 (17:43 +1000)
commit9ae39b0072cd4cb0d7a5b9d19449b5168ae9bdea
tree631d99631a11294dab8a605d3e7de5d6e699ee63
parent30923fc946c4bce0064c1ade9c5b9cea9e3b420f
powerpc/test_emulate_step: Add negative tests for prefixed addi

testcases for `paddi` instruction to cover the negative case,
if R is equal to 1 and RA is not equal to 0, the instruction
form is invalid.

Signed-off-by: Balamuruhan S <bala24@linux.ibm.com>
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
Link: https://lore.kernel.org/r/20200626095158.1031507-3-bala24@linux.ibm.com
arch/powerpc/lib/test_emulate_step.c