[fpc-devel] Rules about record types and internal storage
pascaldragon at googlemail.com
Fri Apr 3 00:42:57 CEST 2020
J. Gareth Moreton <gareth at moreton-family.com> schrieb am Do., 2. Apr. 2020,
> Hi Jonas,
> I brought that up because Florian once asked about just doing everything
> as vectorcall on Win64 because the calling convention, by and large, is
> a compatible extension to its default one. I think issues of
> compatibility and third-party interfacing makes it not the best idea
> unless there's a way to override it (which you can do by specifying the
> 'ms_abi_default' directive, even though that's not the nicest name to
I don't think it's a good idea to change the default calling convention.
We'll get many bug reports about third party libraries then even if it can
be changed. The potential performance gain is not worth it. And those that
want to really optimize their code can do so by adjusting the calling
convention either per function or using $calling.
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the fpc-devel