Summary: This speeds up CRC computation significantly on hardware that supports it. Enabled via -msse4. Note: the binary won't be usable on older CPUs that don't support the instruction. Test Plan: crc32c_test Reviewers: dhruba Reviewed By: dhruba Differential Revision: https://reviews.facebook.net/D3201main
parent
8d41351666
commit
95af128225
@ -1,3 +1,10 @@ |
|||||||
* How to compile using fbcode and jemalloc |
* How to compile using fbcode and jemalloc |
||||||
source fbcode.sh |
source fbcode.sh |
||||||
make |
make |
||||||
|
|
||||||
|
* Compiling for CPUs with SSE4 support |
||||||
|
|
||||||
|
make OPT='-O2 -DNDEBUG -msse4' |
||||||
|
|
||||||
|
This makes CRC computation much faster, but |
||||||
|
binaries won't run on CPUs that don't support it. |
||||||
|
Loading…
Reference in new issue