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

Sven Barth pascaldragon at googlemail.com
Thu Oct 25 17:09:54 CEST 2018


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.

Regards,
Sven

>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freepascal.org/pipermail/fpc-devel/attachments/20181025/da08886a/attachment.html>


More information about the fpc-devel mailing list