diff options
author | costan <costan@google.com> | 2017-08-23 20:59:46 -0700 |
---|---|---|
committer | Victor Costan <pwnall@chromium.org> | 2017-08-24 15:00:52 -0700 |
commit | 2964b803b857932ff7499d7bebb61dc5514dab7c (patch) | |
tree | 0d5bebb45495feef0a5f48af286ea82b0d28eb32 /util/coding.h | |
parent | 02f43c0fcde39823830493503e8a3f72fed43d24 (diff) | |
download | leveldb-2964b803b857932ff7499d7bebb61dc5514dab7c.tar.gz leveldb-2964b803b857932ff7499d7bebb61dc5514dab7c.zip |
leveldb: Fix alignment code in SSE4.2-optimized CRC32C.
When faced with a pointer that is misaligned by K bytes (pointer % 8 ==
K), the code previously moved forward by K bytes. In order to end up
with an aligned pointer, the code must move by 8 - K bytes.
This lands https://github.com/google/leveldb/pull/488
-------------
Created by MOE: https://github.com/google/moe
MOE_MIGRATED_REVID=166295921
Diffstat (limited to 'util/coding.h')
0 files changed, 0 insertions, 0 deletions