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

Florian Klämpfl florian at freepascal.org
Wed Nov 7 23:00:20 CET 2018

Am 04.11.2018 um 17:35 schrieb Florian Klämpfl:
> Am 25.10.2018 um 20:13 schrieb Florian Klämpfl:
> In case somebody wonders: as I started years ago on tls-based threadvars, I decided first to work on this one first and
> try to bring this code into a commitable state.

I committed my tls-based threadvar code. It still comes with a few limitations though:
- to enable it, the compiler, rtl and packages must be build with "OPT=-dtls_threadvars -Aas"
- it works only on i386-linux
- the internal assembler does not support the necessary relocations yet: so all compilations must be done with -Aas
- threadvars in FPC built libraries do not work yet

More information about the fpc-devel mailing list