Re: [PATCH] target/arm: Fix alignment for VLD4.32

2022-09-20 Thread Peter Maydell
On Wed, 14 Sept 2022 at 14:11, Richard Henderson wrote: > > On 9/14/22 11:50, Clément Chigot wrote: > > When requested, the alignment for VLD4.32 is 8 and not 16. > > > > See ARM documentation about VLD4 encoding: > > ebytes = 1 << UInt(size); > > if size == '10' then > > alignm

Re: [PATCH] target/arm: Fix alignment for VLD4.32

2022-09-14 Thread Richard Henderson
On 9/14/22 11:50, Clément Chigot wrote: When requested, the alignment for VLD4.32 is 8 and not 16. See ARM documentation about VLD4 encoding: ebytes = 1 << UInt(size); if size == '10' then alignment = if a == '0' then 1 else 8; else alignment = if a == '0' then 1

[PATCH] target/arm: Fix alignment for VLD4.32

2022-09-14 Thread Clément Chigot
When requested, the alignment for VLD4.32 is 8 and not 16. See ARM documentation about VLD4 encoding: ebytes = 1 << UInt(size); if size == '10' then alignment = if a == '0' then 1 else 8; else alignment = if a == '0' then 1 else 4*ebytes; Signed-off-by: Clément Chigot