[fpc-devel] The 15k bounty: Optimizing executable speed for Linux x86 / LLVM

Michael Van Canneyt michael at freepascal.org
Thu Oct 25 17:23:09 CEST 2018



On Thu, 25 Oct 2018, Sven Barth via fpc-devel wrote:

> Michael Van Canneyt <michael at freepascal.org> schrieb am Do., 25. Okt. 2018,
> 09:38:
>
>>
>>
>> On Sat, 20 Oct 2018, Simon Kissel wrote:
>>
>>> - Make Exception handling, TLS etc use the infrastructure that
>>>  libpthread is providing
>>
>> TLS is handled already by libpthread. I doubt you will gain much there.
>>
>
> GCC has (depending on the platform) a faster implementation for "__thread"
> variables. E.g. on x86 it uses the GS segment and the data is stored in ELF
> sections. There were experiments in the past to support this in FPC as
> well, so maybe we're on a good way there already.

That is good news.  The contours of a TODO list are becoming visible :)

But we may need also need a solution for other platforms, which means the
current system should remain in place for those platforms where such a
system is not present ?

Michael.



More information about the fpc-devel mailing list