Re: [PATCH v7 2/3] target/ppc: Optimize emulation of vpkpx instruction

2019-10-19 Thread Aleksandar Markovic
On Thursday, October 17, 2019, Stefan Brankovic wrote: > Optimize altivec instruction vpkpx (Vector Pack Pixel). > Rearranges 8 pixels coded in 6-5-5 pattern (4 from each source register) > into contigous array of bits in the destination register. > > In each iteration of outer loop, the instruct

[PATCH v7 2/3] target/ppc: Optimize emulation of vpkpx instruction

2019-10-17 Thread Stefan Brankovic
Optimize altivec instruction vpkpx (Vector Pack Pixel). Rearranges 8 pixels coded in 6-5-5 pattern (4 from each source register) into contigous array of bits in the destination register. In each iteration of outer loop, the instruction is to be done with the 6-5-5 pack for 2 pixels of each doublew