From: Linus Torvalds Date: Thu, 6 Aug 2009 02:42:15 +0000 (-0700) Subject: block-sha1: try to use rol/ror appropriately X-Git-Tag: v1.6.5-rc0~64^2~14 X-Git-Url: https://git.lorimer.id.au/gitweb.git/diff_plain/b8e48a89b8f581eaf95b57782bb8e620ca30e968?hp=b8e48a89b8f581eaf95b57782bb8e620ca30e968 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 Signed-off-by: Junio C Hamano ---