[fpc-devel] x86_64 Optimizer Overhaul
J. Gareth Moreton
gareth at moreton-family.com
Sat Dec 15 19:24:21 CET 2018
Well, Florian did say he was concerned about the increased maintenance
costs, given how complex the compiler is already. Granted, it's one of
the few surefire ways that I've sped up the compiler quite significantly.
Other speed-ups like other case block algorithms may also help.
Though the modifications as they stand are perfectly adequate, some "inc"
instructions get changed to "mov, add, mov" that, while not particularly
bad, are a little unexpected, since one of my criteria was that optimised
code is either identical or better to what it was before, not worse. I
can always introduce a fix for that later though.
If I know the changes will be approved or rejected, I can work on
additional peephole optimisations that depend somewhat on the overhaul.
Gareth aka. Kit
On Sat 15/12/18 19:05 , "Ben Grasset" operator97 at gmail.com sent:
On Sat, Dec 15, 2018 at 1:14 PM J. Gareth Moreton wrote:P.S. This thread
is supposed to be for the x86_64 optimizer overhaul that I presented!
Despite the other reply I just sent about the memory management stuff I
also agree here! Your changes look very beneficial and it would be nice to
see them get formally addressed ASAP.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freepascal.org/pipermail/fpc-devel/attachments/20181215/0d0c693e/attachment.html>
More information about the fpc-devel
mailing list