Hi everyone,
Sorry this took so long. There was a bug in my "vectorcall" submission
in that if you specified "vectorcall" on a method under Linux (it might
have been specifically a virtual method), it stored Self in RCX instead of
RDI, rather than silently ignoring the Windows-only calling convention.
Patch is here: https://bugs.freepascal.org/view.php?id=33542
The fix was surprisingly simple - it was an oversight in the
"x86_64_use_ms_abi" function - all it took was the removal of a single
keyword.
Compilation was tested under Ubuntu 16.04 (in VirtualBox) and Windows 10
and the vectorcall tests in "tests/test/cg" run without error.
Gareth aka. Kit
_______________________________________________
fpc-devel maillist - fpc-devel@lists.freepascal.org
http://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-devel