summaryrefslogtreecommitdiff
path: root/block-sha1/sha1.h
diff options
context:
space:
mode:
authorLinus Torvalds <torvalds@linux-foundation.org>2009-08-06 02:42:15 (GMT)
committerJunio C Hamano <gitster@pobox.com>2009-08-06 20:56:45 (GMT)
commitb8e48a89b8f581eaf95b57782bb8e620ca30e968 (patch)
tree6b2393f0958bbdd47205f6558e8940ff338c381f /block-sha1/sha1.h
parentb26a9d50899a5d65bafcb521c5495f03b2e2e0e9 (diff)
downloadgit-b8e48a89b8f581eaf95b57782bb8e620ca30e968.zip
git-b8e48a89b8f581eaf95b57782bb8e620ca30e968.tar.gz
git-b8e48a89b8f581eaf95b57782bb8e620ca30e968.tar.bz2
block-sha1: try to use rol/ror appropriately
Use the one with the smaller constant. It _can_ generate slightly smaller code (a constant of 1 is special), but perhaps more importantly it's possibly faster on any uarch that does a rotate with a loop. Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'block-sha1/sha1.h')
0 files changed, 0 insertions, 0 deletions