Skip to content

Commit

Permalink
Fix detection of default SSE2 support on Windows platform
Browse files Browse the repository at this point in the history
  • Loading branch information
althonos committed Nov 4, 2024
1 parent c13adf5 commit dffd08d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/pyopal/lib.pyx
Original file line number Diff line number Diff line change
Expand Up @@ -127,7 +127,7 @@ if TARGET_CPU == "aarch64" or TARGET_CPU == "arm64":

# NOTE(@althonos): SSE2 is always supported on x86-64 so we should only check
# that the extension was built with SSE2 support.
if TARGET_CPU == "x86_64":
if TARGET_CPU == "x86_64" or TARGET_CPU == "amd64":
_SSE2_RUNTIME_SUPPORT = SSE2_BUILD_SUPPORT


Expand Down

0 comments on commit dffd08d

Please sign in to comment.