Skip to content

Commit

Permalink
build: add TODO comments to add -msse2 for zlib
Browse files Browse the repository at this point in the history
  • Loading branch information
RaisinTen committed Jan 1, 2021
1 parent c5e62b4 commit b35ae3b
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 0 deletions.
2 changes: 2 additions & 0 deletions deps/zlib/contrib/optimizations/chunkcopy.h
Expand Up @@ -29,6 +29,8 @@
#include <arm_neon.h>
typedef uint8x16_t z_vec128i_t;
#elif defined(INFLATE_CHUNK_SIMD_SSE2)
// TODO(raisinten): When https://github.com/nodejs/node/pull/33044 lands,
// remove the next line and add `-msse2` to the command line options.
#pragma GCC target ("sse2")
#include <emmintrin.h>
typedef __m128i z_vec128i_t;
Expand Down
2 changes: 2 additions & 0 deletions deps/zlib/fill_window_sse.c
Expand Up @@ -9,6 +9,8 @@
* For conditions of distribution and use, see copyright notice in zlib.h
*/

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

0 comments on commit b35ae3b

Please sign in to comment.