I'm liking these discussions!
I have done some refactoring, such as attempting to 'factor out' common
conditions (sometimes a matching instruction, but also commonly the
operand types). Sometimes I choose not to factor - for example,
sometimes I try to compute relatively cheap conditions firs
On 11-11-2022 09:57, Jonas Maebe via fpc-devel wrote:
On 11/11/2022 00:44, J. Gareth Moreton via fpc-devel wrote:
My slight concern is that the x86 peephole optimizer is becoming
pretty bloated now
An alternative could be to specify the peephole optimizations in a
pattern matching format, an
On 11/11/2022 00:44, J. Gareth Moreton via fpc-devel wrote:
My slight concern is that the x86 peephole optimizer is becoming pretty
bloated now
An alternative could be to specify the peephole optimizations in a
pattern matching format, and then either write a tool that converts them
to a bunc
On Thu, Nov 10, 2022 at 8:10 PM J. Gareth Moreton via fpc-devel <
fpc-devel@lists.freepascal.org> wrote:
> Hi everyone,
>
> This has been something that has been on my mind for a while now, but
> with my increasingly more complex optimisations being developed for the
> Free Pascal Compiler and the