Thread (13 messages) flat view 13 messages, 4 authors, 2017-08-11

Re: [PATCH v4 1/5] powerpc/lib/sstep: Add cmpb instruction emulation

From: Segher Boessenkool <hidden>
Date: 2017-08-01 12:44:50

Hi!

On Mon, Jul 31, 2017 at 10:58:22AM +1000, Matt Brown wrote:
quoted hunk ↗ jump to hunk
@@ -1049,6 +1065,10 @@ int analyse_instr(struct instruction_op *op, struct pt_regs *regs,
 			do_cmp_unsigned(regs, val, val2, rd >> 2);
 			goto instr_done;
 
+		case 508: /* cmpb */
+			do_cmpb(regs, regs->gpr[rd], regs->gpr[rb], ra);
+			goto instr_done;
Should this then be under an ifdef for 64-bit?


Segher
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help