Re: [PATCH for-6.2 18/34] target/arm: Implement MVE shift-by-scalar

2021-07-16 Thread Richard Henderson
On 7/13/21 6:37 AM, Peter Maydell wrote: Implement the MVE instructions which perform shifts by a scalar. These are VSHL T2, VRSHL T2, VQSHL T1 and VQRSHL T2. They take the shift amount in a general purpose register and shift every element in the vector by that amount. Mostly we can reuse the h

[PATCH for-6.2 18/34] target/arm: Implement MVE shift-by-scalar

2021-07-13 Thread Peter Maydell
Implement the MVE instructions which perform shifts by a scalar. These are VSHL T2, VRSHL T2, VQSHL T1 and VQRSHL T2. They take the shift amount in a general purpose register and shift every element in the vector by that amount. Mostly we can reuse the helper functions for shift-by-immediate; we