[fpc-devel] Patch to speed up Uppercase/Lowercase functions

Marco van de Voort marcov at stack.nl
Mon Jun 13 08:46:52 CEST 2005


> On Sunday 12 June 2005 12.43, Tomas Hajny wrote:
> > As far as I know, mov instruction doesn't set zero flag. Zero length
> > is checked earlier in the code, though, so it doesn't matter for that
> > - just the jz instruction seems to be useless there.
> 
> You are right of course, i am not very familiar with IA-32.
> There was a test ecx,ecx some times ago...

There also is jecx, (jeecx ? :-), but I don't know if it is faster than
writing it out. 




More information about the fpc-devel mailing list