Skip to content
Closed
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
build: enable pclmul in zlib
  • Loading branch information
RaisinTen committed Jan 2, 2021
commit 4289461a80dcc8f5d88a3e407006baee98e8a919
5 changes: 5 additions & 0 deletions deps/zlib/crc32_simd.c
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,11 @@
* V. Gopal, E. Ozturk, et al., 2009, http://intel.ly/2ySEwL0
*/

// TODO(raisinten): When https://github.com/nodejs/node/pull/33044 lands,
// remove the next line and add `-msse4.2` and `-mpclmul` to the
// command line options.
#pragma GCC target ("sse4.2", "pclmul")

#include <emmintrin.h>
#include <smmintrin.h>
#include <wmmintrin.h>
Expand Down