Hi everyone,
So I stumbled across this Australian programmer who talks about
branchless programming and assembly-level optimisations, and it's
interesting because he points out the pitfalls of trying to out-optimise
the compiler. Just a random thing I thought the compiler developers
might be interested in.
https://www.youtube.com/watch?v=bVJ-mWWL7cE
Gareth aka. Kit
P.S. The "smaller" function he illustrates, which is essentially "min",
I think FPC already optimises it with a CMOV instruction!
--
This email has been checked for viruses by Avast antivirus software.
https://www.avast.com/antivirus
_______________________________________________
fpc-devel maillist - fpc-devel@lists.freepascal.org
https://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-devel