Skip to content

Commit b35ae3b

Browse files
committed
build: add TODO comments to add -msse2 for zlib
Refs: nodejs#35679
1 parent c5e62b4 commit b35ae3b

File tree

2 files changed

+4
-0
lines changed

2 files changed

+4
-0
lines changed

deps/zlib/contrib/optimizations/chunkcopy.h

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,8 @@
2929
#include <arm_neon.h>
3030
typedef uint8x16_t z_vec128i_t;
3131
#elif defined(INFLATE_CHUNK_SIMD_SSE2)
32+
// TODO(raisinten): When https://github.com/nodejs/node/pull/33044 lands,
33+
// remove the next line and add `-msse2` to the command line options.
3234
#pragma GCC target ("sse2")
3335
#include <emmintrin.h>
3436
typedef __m128i z_vec128i_t;

deps/zlib/fill_window_sse.c

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,8 @@
99
* For conditions of distribution and use, see copyright notice in zlib.h
1010
*/
1111

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

0 commit comments

Comments
 (0)