powerpc/ppc-opcode: Define and use PPC_RAW_SETB()
authorChristophe Leroy <christophe.leroy@csgroup.eu>
Thu, 7 Jul 2022 14:55:16 +0000 (16:55 +0200)
committerMichael Ellerman <mpe@ellerman.id.au>
Wed, 27 Jul 2022 11:36:05 +0000 (21:36 +1000)
commitde40303b54bc458d7df0d4b4ee1d296df7fe98c7
tree1de015189270572cb4fb9af73fe9725c14c0f4be
parentd00d762daf1278641eec92d74011a7e625e84a68
powerpc/ppc-opcode: Define and use PPC_RAW_SETB()

We have PPC_INST_SETB then build the 'setb' instruction in the
user.

Instead, define PPC_RAW_SETB() and use it.

Signed-off-by: Christophe Leroy <christophe.leroy@csgroup.eu>
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
Link: https://lore.kernel.org/r/b08a4f26919a8f8cdcf7544ab552d9c1c63418b5.1657205708.git.christophe.leroy@csgroup.eu
arch/powerpc/include/asm/ppc-opcode.h
arch/powerpc/lib/test_emulate_step.c