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: #35679
Fixes: #35629
Reviewed-By: Anna Henningsen <[email protected]>
Reviewed-By: Rich Trott <[email protected]>
  • Loading branch information
RaisinTen authored and danielleadams committed Nov 10, 2020
1 parent f8098c3 commit 10c9ea7
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
Original file line number Diff line number Diff line change
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
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@
* For conditions of distribution and use, see copyright notice in zlib.h
*/

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

Expand Down

0 comments on commit 10c9ea7

Please sign in to comment.