[PATCH] [WinX86_64 ABI] Handle C99 _Complex as a struct

Reid Kleckner rnk at google.com
Mon Feb 23 12:55:24 PST 2015


On Mon, Feb 23, 2015 at 12:51 PM, Michael Kuperstein <
michael.m.kuperstein at intel.com> wrote:

> Regarding mangling, to the best of my understanding, ICC doesn't support
> _Complex in C++ mode, and since MSVC doesn't support it at all (only C++
> std::complex), this issue never arises.
> Regarding vectorcall - I'll have to double-check, but I believe the same
> holds as for the default x64 calling convention, that is, _Complex is
> treated equivalently to structs.


Nice! Passing _Complex a as a struct is much simpler than the disaster in
x86_64's Sys V ABI.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20150223/6bcafebd/attachment.html>


More information about the cfe-commits mailing list