So I'm now running the full test suite, including "make fullcycle" for
my refactoring of instruction removal (replacing most references of
"asml.remove(hp1); hp1.free;" etc. with "RemoveInstruction(hp1);".
Trying to get the optimiser to run before assigning real registers to
the instructions i
It might still be possible to detect some patterns cheaply - I'l see
what I can come up with.
Also, any successful reduction in the number of passes in the peephole
optimizer will result in a speed-up that may offset any expensive checks
(and the most expensive ones can be reserved for -O3 and
https://bugs.freepascal.org/view.php?id=37399 - made the refactor patch
and tested it on i386-win32 and x86_64-win64, as well as cross
compilation with "make fullcycle" to catch the most blatant of errors.
It will require testing on other platforms though.
Gareth aka. Kit
___