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

From: Segher Boessenkool <[email-masked]>
Date: Tue, 1 Aug 2017 07:44:33 -0500

Hi!

On Mon, Jul 31, 2017 at 10:58:22AM +1000, Matt Brown wrote:
> @@ -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