[LLVMdev] Header in bitcode format 3.0?

Stuart Hastings stuart at apple.com
Thu May 12 09:40:58 PDT 2011


On May 12, 2011, at 9:22 AM, Renato Golin wrote:

> On 12 May 2011 15:43, Stuart Hastings <stuart at apple.com> wrote:
>> I'm not familiar with AAPCS-VFP, but I'd assume that any byval struct should be passed by value, as if byval didn't exist.
> 
> Not if the argument(s) fits into the specified registers. There's
> where the ABI comes in.
> 
> In a nutshell, the AAPCS-VFP extends the AAPCS to include cases where
> the arguments are floating point, either literals or small vectors,
> when they fit in VFP registers. This is similar to the AAPCS extending
> the base standard regarding standard registers.

O.K.  I guess I wasn't clear.  When I said "by value" above, I meant "by value, whether in memory or registers".

stuart



More information about the llvm-dev mailing list