qemu-arm
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: regression in TCG emulation of VTBL neon instruction


From: Richard Henderson
Subject: Re: regression in TCG emulation of VTBL neon instruction
Date: Wed, 4 Nov 2020 19:47:22 -0800
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:68.0) Gecko/20100101 Thunderbird/68.10.0

On 11/4/20 3:18 PM, Ard Biesheuvel wrote:
> Looking at HELPER(neon_tbl)(), it seems to me that casting void *vn to
> uint64_t* and indexing it as an array fails to account for the SVE
> view of the registers. This also explains why qemu-system-arm works
> and qemu-system-aarch64 doesn't.

Yep, you're right.  There was a semi-recent change here, but it merely moved
the point at which we treated this as an array.

There's a different tbl version for aarch64, helper_simd_tbl, which might be
done correctly for both.  I'll investigate more tomorrow.


r~



reply via email to

[Prev in Thread] Current Thread [Next in Thread]