X86: Implement the vectorcall calling convention

Description

X86: Implement the vectorcall calling convention

This is a Microsoft calling convention that supports both x86 and x86_64
subtargets. It passes vector and floating point arguments in XMM0-XMM5,
and passes them indirectly once they are consumed.

Homogenous vector aggregates of up to four elements can be passed in
sequential vector registers, but this part is not implemented in LLVM
and will be handled in Clang.

On 32-bit x86, it is similar to fastcall in that it uses ecx:edx as
integer register parameters and is callee cleanup. On x86_64, it
delegates to the normal win64 calling convention.

Reviewers: majnemer

Differential Revision: http://reviews.llvm.org/D5943

Details

Committed
rnkOct 27 2014, 6:29 PM
Differential Revision
D5943: X86: Implement the vectorcall calling convention
Parents
rL220744: AArch64: enable Cortex-A57 FP balancing on Cortex-A53.
Branches
Unknown
Tags
Unknown