CRC32 hash function for strings
commit37f0d700284d528855bd15a92c01afbd531768df
authorBin Liu <binliu@fb.com>
Sat, 6 Dec 2014 17:55:00 +0000 (6 09:55 -0800)
committerhhvm-bot <hhvm-bot@fb.com>
Sat, 6 Dec 2014 18:00:25 +0000 (6 10:00 -0800)
tree664b1a3a4e5d94662e9f66f28dd862d76c1542db
parent06b7136f8c39e5e224bf9eba1181feeaee1c7f96
CRC32 hash function for strings

Summary: Use SSE4.2 CRC32 instruction in hash function. Need to define USE_SSECRC.

Reviewed By: @edwinsmith

Differential Revision: D1705782
hphp/hhvm/main.cpp
hphp/hhvm/process-init.cpp
hphp/hhvm/process-init.h
hphp/runtime/base/apc-file-storage.cpp
hphp/runtime/base/static-string-table.cpp
hphp/runtime/base/string-data.cpp
hphp/util/hash.cpp
hphp/util/hash.h
hphp/util/portability.h