> I don't think the compiler can be made smart and safe enough to
> auto-align something like the complex type to take full advantage of the
> System V ABI, and vectorcall is not the default Win64 calling convention
> (and the default convention is a little badly-designed if I'm allowed to
> say, since it doesn't vectorise anything at all).

It's not badly designed, it's a child of its time. Back when Win64 was
conceived it wasn't expected that the use of SSE would become as widespread
as it is now. And one doesn't simply change a platform ABI on a whim.
That's why Microsoft introduced vectorcall after all...


fpc-devel maillist  -  fpc-devel@lists.freepascal.org

Reply via email to