[fpc-devel] "Maybe Gareth can be convinced to spend his energy on this ... "

Sven Barth pascaldragon at googlemail.com
Fri Jun 28 10:48:01 CEST 2019

George Bakhtadze <armorcavalry at yandex.com> schrieb am Fr., 28. Juni 2019,

> Hello,
> > 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...
URL: <http://lists.freepascal.org/pipermail/fpc-devel/attachments/20190628/9bf478e0/attachment.html>

More information about the fpc-devel mailing list