Permalink
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Browse files
Enabling hash functions that require SSE4.2 support
Summary: Hash functions for HHVM are currently guarded by __SSE4_2__ flag which are not enabled by default. The fallback versions for "hash int" functions are "C" implementations leaving some room for performance. This change enables the SSE4.2 support by default allowing all the hash functions to take the corresponding assembly routines. The change also leaves the ENABLE_SSE4_2 flag configurable so it can be turned off in case run on really old processors. This gives ~0.4% performance improvement on oss-performance/WordPress and Drupal7 Closes #8128 Differential Revision: D7050027 Pulled By: fredemmott fbshipit-source-id: 4fe8aa66447fa52a0716513ac57b48527e3785c5
- Loading branch information
Showing
with
11 additions
and 0 deletions.
- +10 −0 CMake/HPHPCompiler.cmake
- +1 −0 CMake/Options.cmake