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 <anna@addaleax.net>
Reviewed-By: Rich Trott <rtrott@gmail.com>
  • Loading branch information
RaisinTen authored and BethGriggs committed Dec 9, 2020
1 parent 1ed0a03 commit a4a086d
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 a4a086d

Please sign in to comment.