diff options
author | Junio C Hamano <gitster@pobox.com> | 2012-07-23 20:56:46 -0700 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2012-07-23 20:56:47 -0700 |
commit | ebcfa444c436c0a501d38ffd5bae670fe6ee01c5 (patch) | |
tree | 37d88b18fa545fb74c0e78f1858dda5c12e3e92b /Makefile | |
parent | fee4426cdf5234ffb0b5572618ca2a6d4ae2595d (diff) | |
parent | f200197c39d9181c02cac06c26433edaa9d31219 (diff) | |
download | git-ebcfa444c436c0a501d38ffd5bae670fe6ee01c5.tar.gz |
Merge branch 'jn/block-sha1'
The code to load a word one-byte-at-a-time was optimized into a
word-wide load instruction even when the pointer was not aligned,
which caused issues on architectures that do not like unaligned
access.
* jn/block-sha1:
Makefile: BLK_SHA1 does not require fast htonl() and unaligned loads
block-sha1: put expanded macro parameters in parentheses
block-sha1: avoid pointer conversion that violates alignment constraints
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 5 |
1 files changed, 2 insertions, 3 deletions
@@ -127,9 +127,8 @@ all:: # specify your own (or DarwinPort's) include directories and # library directories by defining CFLAGS and LDFLAGS appropriately. # -# Define BLK_SHA1 environment variable if you want the C version -# of the SHA1 that assumes you can do unaligned 32-bit loads and -# have a fast htonl() function. +# Define BLK_SHA1 environment variable to make use of the bundled +# optimized C SHA1 routine. # # Define PPC_SHA1 environment variable when running make to make use of # a bundled SHA1 routine optimized for PowerPC. |