Skip to content

Commit

Permalink
build: fix zlib inlining for IA-32
Browse files Browse the repository at this point in the history
PR-URL: nodejs#35679
Fixes: nodejs#35629
Reviewed-By: Anna Henningsen <anna@addaleax.net>
Reviewed-By: Rich Trott <rtrott@gmail.com>
  • Loading branch information
RaisinTen authored and targos committed Jan 29, 2022
1 parent 56e6a51 commit ec258fe
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions deps/zlib/contrib/optimizations/chunkcopy.h
Expand Up @@ -29,6 +29,7 @@
#include <arm_neon.h>
typedef uint8x16_t z_vec128i_t;
#elif defined(INFLATE_CHUNK_SIMD_SSE2)
#pragma GCC target ("sse2")
#include <emmintrin.h>
typedef __m128i z_vec128i_t;
#else
Expand Down
1 change: 1 addition & 0 deletions deps/zlib/fill_window_sse.c
Expand Up @@ -29,6 +29,7 @@

extern int deflate_read_buf OF((z_streamp strm, Bytef *buf, unsigned size));

#pragma GCC target ("sse2")
#include <immintrin.h>

void fill_window_sse(deflate_state *s)
Expand Down

0 comments on commit ec258fe

Please sign in to comment.