author | Unknown <linux@horizon.net> | |
Sat, 24 Jun 2006 09:31:20 +0000 (02:31 -0700) | ||
committer | Junio C Hamano <junkio@cox.net> | |
Sat, 24 Jun 2006 10:02:00 +0000 (03:02 -0700) | ||
commit | 84702995f89361c5872029cb93983c704d80e993 | |
tree | 0f4f6aa38deff377e2dde524bd0e0e8379424897 | tree | snapshot |
parent | b57cbbf8a8630b6d75c885348dc79b8b8cb96c2e | commit | diff |
A better-scheduled PPC SHA-1 implementation.
This is about 15% faster that the current sha1ppc.S on a G4, and
5% faster on a G5 when hashing 10 million bytes, unaligned.
(The G5 ratio seems to get better as the sizes fall.)
It's also somewhat smaller, due to using load-multiple instructions.
No copyright is claimed on the changes to Paul Mackerras' work below.
This is about 15% faster that the current sha1ppc.S on a G4, and
5% faster on a G5 when hashing 10 million bytes, unaligned.
(The G5 ratio seems to get better as the sizes fall.)
It's also somewhat smaller, due to using load-multiple instructions.
No copyright is claimed on the changes to Paul Mackerras' work below.
ppc/sha1ppc.S | diff | blob | history |