[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Qemu-devel] AVX support for TCG
From: |
Richard Henderson |
Subject: |
Re: [Qemu-devel] AVX support for TCG |
Date: |
Sat, 5 Jan 2019 08:14:37 +1000 |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Thunderbird/60.3.1 |
On 1/5/19 8:09 AM, Nick Renieris wrote:
> Στις Παρ, 4 Ιαν 2019 στις 11:51 μ.μ., ο/η Richard Henderson
> <address@hidden> έγραψε:
>> As an integer it is always passed by value. As a structure some host abis
>> pass
>> it by reference, and the TCG compiler doesn't know about that.
>
> Ah so they modify it? If so it could surely be worked around with
> explicit stack copies, right?
No, it's just calling conventions. And it could be worked around, but I think
what we have is convenient enough.
Especially since the sizes are encoded as (n+1)*8, which also shows the
compiler that the size is positive, so the for loop must iterate at least once.
r~