Re: [PATCH v7 1/3] target/ppc: Optimize emulation of vclzh and vclzb instructions

2019-10-19 Thread Aleksandar Markovic
On Thursday, October 17, 2019, Stefan Brankovic wrote: > Optimize Altivec instruction vclzh (Vector Count Leading Zeros Halfword). > This instruction counts the number of leading zeros of each halfword > element > in source register and places result in the appropriate halfword element of > desti

[PATCH v7 1/3] target/ppc: Optimize emulation of vclzh and vclzb instructions

2019-10-17 Thread Stefan Brankovic
Optimize Altivec instruction vclzh (Vector Count Leading Zeros Halfword). This instruction counts the number of leading zeros of each halfword element in source register and places result in the appropriate halfword element of destination register. In each iteration of outer for loop count operati