Skip to content

Commit c5e62b4

Browse files
committed
build: enable ssse3 in zlib
Fixes: nodejs#36678
1 parent 23873bf commit c5e62b4

1 file changed

Lines changed: 3 additions & 0 deletions

File tree

deps/zlib/adler32_simd.c

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -54,6 +54,9 @@
5454
#define __attribute__()
5555
#endif
5656

57+
// TODO(raisinten): When https://github.com/nodejs/node/pull/33044 lands,
58+
// remove the next line and add `-mssse3` to the command line options.
59+
#pragma GCC target ("ssse3")
5760
#include <tmmintrin.h>
5861

5962
__attribute__((target("ssse3")))

0 commit comments

Comments
 (0)