Re: [Qemu-devel] [PATCH 1/2] target/arm: Vectorize USHL and SSHL

2019-06-03 Thread Richard Henderson
On 5/23/19 8:03 AM, Peter Maydell wrote: > On Thu, 23 May 2019 at 13:44, Peter Maydell wrote: >> >> On Sat, 18 May 2019 at 20:19, Richard Henderson >> wrote: >>> >>> These instructions shift left or right depending on the sign >>> of the input, and 7 bits are significant to the shift. This >>> r

Re: [Qemu-devel] [PATCH 1/2] target/arm: Vectorize USHL and SSHL

2019-05-23 Thread Peter Maydell
On Thu, 23 May 2019 at 13:44, Peter Maydell wrote: > > On Sat, 18 May 2019 at 20:19, Richard Henderson > wrote: > > > > These instructions shift left or right depending on the sign > > of the input, and 7 bits are significant to the shift. This > > requires several masks and selects in addition

Re: [Qemu-devel] [PATCH 1/2] target/arm: Vectorize USHL and SSHL

2019-05-23 Thread Peter Maydell
On Sat, 18 May 2019 at 20:19, Richard Henderson wrote: > > These instructions shift left or right depending on the sign > of the input, and 7 bits are significant to the shift. This > requires several masks and selects in addition to the actual > shifts to form the complete answer. > > That said,

[Qemu-devel] [PATCH 1/2] target/arm: Vectorize USHL and SSHL

2019-05-18 Thread Richard Henderson
These instructions shift left or right depending on the sign of the input, and 7 bits are significant to the shift. This requires several masks and selects in addition to the actual shifts to form the complete answer. That said, the operation is still a small improvement even for two 64-bit eleme