[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [PATCH 23/36] target/arm: Convert Neon 64-bit element 3-reg-same ins
From: |
Richard Henderson |
Subject: |
Re: [PATCH 23/36] target/arm: Convert Neon 64-bit element 3-reg-same insns |
Date: |
Fri, 1 May 2020 09:12:41 -0700 |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:68.0) Gecko/20100101 Thunderbird/68.7.0 |
On 5/1/20 8:57 AM, Peter Maydell wrote:
> On Fri, 1 May 2020 at 16:50, Richard Henderson
> <address@hidden> wrote:
>> The original intention of the hook is to expand some inline tcg ops. That it
>> can be used to call a helper is a happy accident. For a helper that needs
>> env,
>> ideally we would use tcg_gen_gvec_ptr and handle the vector with one call.
>
> The inconsistency where half the helpers nede to be passed cpu_env
> and the other half don't is really irritating for writing code
> that calls them. Lots of ought-to-be-common code ends up needing
> two versions :-(
Yep. Lots of room for additional cleanup here.
r~