[fpc-devel] x86_64 Optimizer Overhaul

J. Gareth Moreton gareth at moreton-family.com
Fri Dec 28 18:19:15 CET 2018


 I figured so, although when I implemented such a pooled object, it
unintentionally fixed a couple of memory leaks!  Of course, it might just
be a lazy workaround instead of putting in the missing "ReleaseUsedRegs"
commands.

 Gareth aka. Kit

 On Fri 28/12/18 17:41 , Florian Klämpfl florian at freepascal.org sent:
 Am 15.12.2018 um 16:18 schrieb J. Gareth Moreton: 
 > Ah right, so things like "TmpUsedRegs" (an array of TUsedRegs)
constantly being created and destroyed in the peephole 
 > optimizer is actually not that much of a penalty hit, and creating a
pooled object for continuous use doesn't give that 
 > much of a performance gain? 

 I do not expect so. 
 _______________________________________________ 
 fpc-devel maillist - fpc-devel at lists.freepascal.org [1] 
 http://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-devel
[2]">http://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-devel 

 

Links:
------
[1] mailto:fpc-devel at lists.freepascal.org
[2] http://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-devel
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freepascal.org/pipermail/fpc-devel/attachments/20181228/59a6e0a9/attachment.html>


More information about the fpc-devel mailing list