[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [PATCH for-5.2] target/arm: Fix neon VTBL/VTBX for len > 1
From: |
Richard Henderson |
Subject: |
Re: [PATCH for-5.2] target/arm: Fix neon VTBL/VTBX for len > 1 |
Date: |
Mon, 9 Nov 2020 08:50:39 -0800 |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:68.0) Gecko/20100101 Thunderbird/68.10.0 |
On 11/9/20 3:59 AM, Peter Maydell wrote:
>> + tmp = env->vfp.zregs[reg >> 1].d[reg & 1];
>
> This can be written
> tmp = *aa32_vfp_dreg(env, reg);
> rather than open-coding the conversion from a dreg number into
> the appropriate access into the zregs representation.
Ah, I forgot about that helper. Thanks.
r~