Skip to content

Commit 629079a

Browse files
committed
Only require SSE2
1 parent ebb2496 commit 629079a

File tree

2 files changed

+6
-3
lines changed

2 files changed

+6
-3
lines changed

CHANGELOG.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,9 @@
11
# Changelog
22

3+
## 3.2.0
4+
5+
- Only require SSE2 on x86_64
6+
37
## 3.1.0
48

59
- Require SSE4.1 on x86_64

setup.py

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -121,10 +121,9 @@ def new_compile(obj, src, ext, cc_args, extra_postargs, pp_opts):
121121
libraries = []
122122

123123
if arch == "x86":
124-
# Assume SSE4.2 baseline
124+
# Assume SSE2 baseline
125125
extra_compile_args += [
126-
"-msse4.2", # enables SSE2/SSE3/SSSE3/SSE4.1 as well
127-
"-mpopcnt", # part of the de-facto x86-64-v2 baseline
126+
"-msse2",
128127
"-mtune=generic", # good across Intel/AMD
129128
]
130129

0 commit comments

Comments
 (0)