powerpc/sstep: Introduce macros to retrieve Prefix instruction operands
authorBalamuruhan S <bala24@linux.ibm.com>
Fri, 26 Jun 2020 09:51:57 +0000 (15:21 +0530)
committerMichael Ellerman <mpe@ellerman.id.au>
Thu, 23 Jul 2020 07:43:11 +0000 (17:43 +1000)
commit68a180a44c29d7e918ae7d3c18a01b0751d1c22f
tree42bc480606bcbe80cedc3123b108d9c462488c67
parent7e67c73b939b25d4ad18a536e52282aa35d8ee56
powerpc/sstep: Introduce macros to retrieve Prefix instruction operands

retrieve prefix instruction operands RA and pc relative bit R values
using macros and adopt it in sstep.c and test_emulate_step.c.

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-4-bala24@linux.ibm.com
arch/powerpc/include/asm/sstep.h
arch/powerpc/lib/sstep.c