On Fri, 22 Oct 2010 23:17:08 +0200, Dariusz Mazur <[email protected]>
wrote:
Second: when I review assembler list I've notice some strange lines (all
optimizations are enabled):
# [124] dec(ii);
movl %esi,%eax
decl %eax
movl %eax,%esi
.Lj16:
movl %esi,%eax <- this is not necessary
testl %eax,%eax
jg .Lj15
I don't see where .Lj16 is jumped to from, but this indeed looks rather
strange.
decl %esi
jg .Lj15
seems to have the same effect at the first glance. But maybe I have the
jump conditions wrong, the test instruction always clears the overflow
flag.
Vinzent.
_______________________________________________
fpc-devel maillist - [email protected]
http://lists.freepascal.org/mailman/listinfo/fpc-devel