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 15, 2020
1 parent 7c3b6f1 commit f498127
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 @@ -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 f498127

Please sign in to comment.