On Montag, 27. Juni 2022 04:43:46 CEST J. Gareth Moreton via fpc-devel wrote:
> testl    $1,%ebx -> testb    $1,%bl

Obviously, thats not the same. The latter will only compare the least-
significant byte against 1, and ignore the rest of the register. The former 
will also compare the remainder of the register against zero. SO you canot do 
such "optimizations" 
_______________________________________________
fpc-devel maillist  -  fpc-devel@lists.freepascal.org
https://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-devel

Reply via email to