Re: [PATCH v2 42/45] target/arm/vec_helper: Handle oprsz less than 16 bytes in indexed operations

2020-08-28 Thread Richard Henderson
On 8/28/20 11:33 AM, Peter Maydell wrote: > In the gvec helper functions for indexed operations, for AArch32 > Neon the oprsz (total size of the vector) can be less than 16 bytes > if the operation is on a D reg. Since the inner loop in these > helpers always goes from 0 to segment, we must clamp i

[PATCH v2 42/45] target/arm/vec_helper: Handle oprsz less than 16 bytes in indexed operations

2020-08-28 Thread Peter Maydell
In the gvec helper functions for indexed operations, for AArch32 Neon the oprsz (total size of the vector) can be less than 16 bytes if the operation is on a D reg. Since the inner loop in these helpers always goes from 0 to segment, we must clamp it based on oprsz to avoid processing a full 16 byt