[fpc-devel] TFPHashList (Was: Alternative parsers)

Vinzent Höfler JeLlyFish.software at gmx.net
Fri Oct 22 23:32:26 CEST 2010


On Fri, 22 Oct 2010 23:17:08 +0200, Dariusz Mazur <darekm at emadar.com>  
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.



More information about the fpc-devel mailing list