[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 07:51:09 +1000 |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Thunderbird/60.3.1 |
On 1/5/19 7:43 AM, Nick Renieris wrote:
> Just curious, why is gvec-desc a bitfield instead of a normal struct?
> Surely it'd be more readable that way. Also this is C, so it's not
> even a typed bitfield, just a uint32. I'm guessing there's a reason
> behind this?
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.
r~