Skip to content

Commit

Permalink
build: enable ssse3 in zlib
Browse files Browse the repository at this point in the history
  • Loading branch information
RaisinTen committed Jan 1, 2021
1 parent 23873bf commit c5e62b4
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions deps/zlib/adler32_simd.c
Expand Up @@ -54,6 +54,9 @@
#define __attribute__()
#endif

// TODO(raisinten): When https://github.com/nodejs/node/pull/33044 lands,
// remove the next line and add `-mssse3` to the command line options.
#pragma GCC target ("ssse3")
#include <tmmintrin.h>

__attribute__((target("ssse3")))
Expand Down

0 comments on commit c5e62b4

Please sign in to comment.