[PATCH v8 30/30] powerpc sstep: Add support for prefixed fixed-point arithmetic

Jordan Niethe jniethe5 at gmail.com
Fri May 15 18:02:17 AEST 2020


mpe, and this thanks.
---
diff --git a/arch/powerpc/lib/sstep.c b/arch/powerpc/lib/sstep.c
--- a/arch/powerpc/lib/sstep.c
+++ b/arch/powerpc/lib/sstep.c
@@ -1343,7 +1343,7 @@ int analyse_instr(struct instruction_op *op,
const struct pt_regs *regs,
         rd = (suffix >> 21) & 0x1f;
         op->reg = rd;
         op->val = regs->gpr[rd];
-        suffixopcode = suffix >> 26;
+        suffixopcode = get_op(suffix);
         prefixtype = (word >> 24) & 0x3;
         switch (prefixtype) {
         case 2:
-- 
2.17.1


More information about the Linuxppc-dev mailing list