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.



_______________________________________________
fpc-devel maillist  -  fpc-devel@lists.freepascal.org
https://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-devel

Reply via email to