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

Marco van de Voort fpc at pascalprogramming.org
Fri Nov 11 11:54:40 CET 2022


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, 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.
>
>
Or maybe predicting branch taken  taking more into consideration than 
which node of if..then..else it is.





More information about the fpc-devel mailing list