<div dir="auto"><div class="gmail_quote" dir="auto"><div dir="ltr" class="gmail_attr">Sven Barth <<a href="mailto:pascaldragon@googlemail.com">pascaldragon@googlemail.com</a>> schrieb am Do., 2. Apr. 2020, 17:10:</div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="auto"><div dir="auto"><div class="gmail_quote"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">P.S. Of course you can force it by forcing the vector to be an m128 type <br>
and specifying vectorcall for x86_64-win64, but not everyone will know <br>
to do that and it gets unwieldly rather quickly.  Speaking of <br>
vectorcall, I'm wondering if we can introduce 'fastcall' as an alias for <br>
'ms_abi_default', mostly so if we follow Microsoft Visual C++'s example <br>
of automatically making all routines vectorcall (which is closer to the <br>
System V ABI used by linux and will make vectorisation easier), we can <br>
force the default one if we need a routine that, say, has to interface <br>
with a third-party library ('fastcall' under win32 is what the MS ABI is <br>
based off... first parameter in ECX, second in EDX and everything else <br>
on the stack).<br></blockquote></div></div><div dir="auto"><br></div><div dir="auto">Please provide a source for your statement that MSVC uses vectorcall by default. Cause I highly doubt that as Microsoft is huge on backwards compatibility especially regarding the lower level stuff. </div></div></blockquote></div><div dir="auto"><br></div><div dir="auto">Just checked myself: cdecl is the default. So nothing needs to be changed here for us. </div><div dir="auto"><br></div><div dir="auto">Regards, </div><div dir="auto">Sven </div><div class="gmail_quote" dir="auto"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="auto"><div dir="auto"><div class="gmail_quote"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
</blockquote></div></div></div>
</blockquote></div></div>