author | Nicolas Pitre <nico@cam.org> | |
Tue, 20 Sep 2005 16:27:13 +0000 (12:27 -0400) | ||
committer | Junio C Hamano <junkio@cox.net> | |
Wed, 21 Sep 2005 01:10:00 +0000 (18:10 -0700) | ||
commit | 7c6ef2f2142f0a4c22b5505d95553cac17867a21 | |
tree | 5eff144d174355bd17dc7b12d77af58202c46ea5 | tree | snapshot |
parent | f1f0d0889e5557bc467490fdbd53f7b912503a33 | commit | diff |
[PATCH] ARM optimized SHA1 implementation
This is my ARM assembly SHA1 implementation for GIT. It is approximately
50% faster than the generic C version. On an XScale processor running at
400MHz:
generic C version: 9.8 MB/s
my version: 14.5 MB/s
It's not that I expect a lot of big GIT users on ARM, but I stillknow
about one important ARM user that might benefit from it, and writing
that code was fun.
I also reworked the makefile a bit so any optimized SHA1 implementations
is used regardless of whether NO_OPENSSL is defined or not.
Signed-off-by: Nicolas Pitre <nico@cam.org>
Signed-off-by: Junio C Hamano <junkio@cox.net>
This is my ARM assembly SHA1 implementation for GIT. It is approximately
50% faster than the generic C version. On an XScale processor running at
400MHz:
generic C version: 9.8 MB/s
my version: 14.5 MB/s
It's not that I expect a lot of big GIT users on ARM, but I stillknow
about one important ARM user that might benefit from it, and writing
that code was fun.
I also reworked the makefile a bit so any optimized SHA1 implementations
is used regardless of whether NO_OPENSSL is defined or not.
Signed-off-by: Nicolas Pitre <nico@cam.org>
Signed-off-by: Junio C Hamano <junkio@cox.net>
Makefile | diff | blob | history | |
arm/sha1.c | [new file with mode: 0644] | blob |
arm/sha1.h | [new file with mode: 0644] | blob |
arm/sha1_arm.S | [new file with mode: 0644] | blob |