Daniel Grunblatt wrote:
You will see it running as fast as mops.c compiled with -O3 if you change REDO: sub I4, I4, I3
for
REDO: dec I4
I didn't want to change the test case ;-)
Yes, with constant propagation the (todo) optimizer would see aBut that's obviously part of a higher level optimizer.
sub I4, I4, 1 giving a dec I4 and when looking at I4, the whole loop would then be
set I4, 0 ;-)
leo