aboutsummaryrefslogtreecommitdiff
path: root/src/liblzma/common/hardware_cputhreads.c
diff options
context:
space:
mode:
authorLasse Collin <lasse.collin@tukaani.org>2014-08-03 21:32:25 +0300
committerLasse Collin <lasse.collin@tukaani.org>2014-08-03 21:32:25 +0300
commit5dcffdbcc23a68abc3ac3539b30be71bc9b5af84 (patch)
tree7c3ae0e92d75e1f3c9afd338fd74ed67f560670d /src/liblzma/common/hardware_cputhreads.c
parentliblzma: SHA-256: Optimize the way rotations are done. (diff)
downloadxz-5dcffdbcc23a68abc3ac3539b30be71bc9b5af84.tar.xz
liblzma: SHA-256: Optimize the Maj macro slightly.
The Maj macro is used where multiple things are added together, so making Maj a sum of two expressions allows some extra freedom for the compiler to schedule the instructions. I learned this trick from <http://www.hackersdelight.org/corres.txt>.
Diffstat (limited to 'src/liblzma/common/hardware_cputhreads.c')
0 files changed, 0 insertions, 0 deletions