[fpc-devel] LEA instruction speed
J. Gareth Moreton
gareth at moreton-family.com
Fri Oct 13 17:18:56 CEST 2023
This one's for you Stefan!
https://github.com/spring4d/benchmark/issues/4
Kit
On 13/10/2023 16:03, Tomas Hajny via fpc-devel wrote:
> 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
> _______________________________________________
> fpc-devel maillist - fpc-devel at lists.freepascal.org
> https://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-devel
>
More information about the fpc-devel
mailing list