This adds emulation support for the following prefixed Fixed-Point Arithmetic instructions: * Prefixed Add Immediate (paddi)
Signed-off-by: Jordan Niethe <jniet...@gmail.com> --- arch/powerpc/lib/sstep.c | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/arch/powerpc/lib/sstep.c b/arch/powerpc/lib/sstep.c index 9ae8d177b67f..1bb0c79cb774 100644 --- a/arch/powerpc/lib/sstep.c +++ b/arch/powerpc/lib/sstep.c @@ -2776,6 +2776,10 @@ int analyse_instr(struct instruction_op *op, const struct pt_regs *regs, break; op->ea = mlsd_8lsd_ea(instr, sufx, regs); switch (sufxopcode) { + case 14: /* paddi */ + op->type = COMPUTE | PREFIXED; + op->val = op->ea; + goto compute_done; case 32: /* plwz */ op->type = MKOP(LOAD, PREFIXED, 4); break; -- 2.20.1