[fpc-devel] LEA instruction speed
Tomas Hajny
XHajT03 at hajny.biz
Fri Oct 13 17:03:31 CEST 2023
On 2023-10-13 16:25, J. Gareth Moreton via fpc-devel wrote:
> GetLogicalProcessorInformation returns a Boolean - if false, an error
> occurred, and is handled as follows:
>
> DiagnoseAndExit('Failed during call to GetLogicalProcessorInformation:
> ' + GetLastError.ToString);
>
> GetLastError = 8 indicates "out of memory", which I will say is odd.
>
> Nevertheless, because of such teething problems with the framework,
> I'm going to remove it from "blea" for now. As it stands, please find
> attached the test that appears in the merge request:
> https://gitlab.com/freepascal.org/fpc/source/-/merge_requests/502
The attached version still contained reference to the framework.
The problem with 32-bit compilation of the framework was due to a
missing stdcall calling convention in the GetLogicalProcessorInformation
declaration.
Tomas
More information about the fpc-devel
mailing list