[fpc-devel] "Maybe Gareth can be convinced to spend his energy on this ... "
pascaldragon at googlemail.com
Fri Jun 28 10:48:01 CEST 2019
George Bakhtadze <armorcavalry at yandex.com> schrieb am Fr., 28. Juni 2019,
> > One thing I have been considering is to promote fields and global
> variables to local registers to reduce memory accesses.
> That would be great. But multithreaded code which assume (incorrectly)
> that those fields and globals are in memory may be broken.
This assumption is *not* incorrect. Only on the LLVM based Delphi NewGen
and FPC's LLVM backend the assumption is incorrect which can be seen by
them having added "volatile" mechanisms.
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the fpc-devel