Re: [Qemu-devel] [RFC v1 08/13] target-ppc: add cnttzw[.] instruction

2016-07-21 Thread Nikunj A Dadhania
Richard Henderson writes: > On 07/18/2016 10:35 PM, Nikunj A Dadhania wrote: >> +if (unlikely(Rc(ctx->opcode) != 0)) >> +gen_set_Rc0(ctx, cpu_gpr[rA(ctx->opcode)]); > > Braces. Sure. Nikunj

Re: [Qemu-devel] [RFC v1 08/13] target-ppc: add cnttzw[.] instruction

2016-07-20 Thread Richard Henderson
On 07/18/2016 10:35 PM, Nikunj A Dadhania wrote: +if (unlikely(Rc(ctx->opcode) != 0)) +gen_set_Rc0(ctx, cpu_gpr[rA(ctx->opcode)]); Braces. r~

[Qemu-devel] [RFC v1 08/13] target-ppc: add cnttzw[.] instruction

2016-07-18 Thread Nikunj A Dadhania
Add ISA3.0: Count trailing zeros word instruction. Signed-off-by: Nikunj A Dadhania --- target-ppc/helper.h | 1 + target-ppc/int_helper.c | 5 + target-ppc/translate.c | 10 ++ 3 files changed, 16 insertions(+) diff --git a/target-ppc/helper.h b/target-ppc/helper.h index 0c2