Re: [Qemu-devel] [PATCH 6/6] target-ppc: add vclzlsbb/vctzlsbb instructions

2016-09-28 Thread David Gibson
On Wed, Sep 28, 2016 at 11:15:18AM +0530, Rajalakshmi Srinivasaraghavan wrote: > The following vector instructions are added from ISA 3.0. > > vclzlsbb - Vector Count Leading Zero Least-Significant Bits Byte > vctzlsbb - Vector Count Trailing Zero Least-Significant Bits Byte > > Signed-off-by: Ra

Re: [Qemu-devel] [PATCH 6/6] target-ppc: add vclzlsbb/vctzlsbb instructions

2016-09-28 Thread David Gibson
On Wed, Sep 28, 2016 at 10:08:06AM -0700, Richard Henderson wrote: > On 09/27/2016 10:45 PM, Rajalakshmi Srinivasaraghavan wrote: > > +return count; > > +} > > +target_ulong helper_vctzlsbb(ppc_avr_t *r) > > +{ > > ... > > > +return count; > > +} > > void helper_vmhaddshs(CPUPPCState *en

Re: [Qemu-devel] [PATCH 6/6] target-ppc: add vclzlsbb/vctzlsbb instructions

2016-09-28 Thread Richard Henderson
On 09/27/2016 10:45 PM, Rajalakshmi Srinivasaraghavan wrote: > +return count; > +} > +target_ulong helper_vctzlsbb(ppc_avr_t *r) > +{ ... > +return count; > +} > void helper_vmhaddshs(CPUPPCState *env, ppc_avr_t *r, ppc_avr_t *a, >ppc_avr_t *b, ppc_avr_t *c) Watc

[Qemu-devel] [PATCH 6/6] target-ppc: add vclzlsbb/vctzlsbb instructions

2016-09-27 Thread Rajalakshmi Srinivasaraghavan
The following vector instructions are added from ISA 3.0. vclzlsbb - Vector Count Leading Zero Least-Significant Bits Byte vctzlsbb - Vector Count Trailing Zero Least-Significant Bits Byte Signed-off-by: Rajalakshmi Srinivasaraghavan --- target-ppc/helper.h |2 ++ target-ppc