[fpc-devel] An interesting thought... AI

Jonas Maebe jonas at freepascal.org
Fri Nov 11 09:57:16 CET 2022


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 bunch of if-then-else statements, or interpret this format directly 
in the compiler.


Jonas


More information about the fpc-devel mailing list