Skip to content

Commit

Permalink
fix SIMDE_ARCH_X86_SSE4_2 define
Browse files Browse the repository at this point in the history
when using `/arch=AVX` or similar then SSE4.2 does not get activated (on MSVC at least, but should be similar on g++/clang)

This PR fixes this.
  • Loading branch information
cbielow authored and mr-c committed Aug 18, 2023
1 parent b309d89 commit 5e4b308
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion simde/simde-arch.h
Original file line number Diff line number Diff line change
Expand Up @@ -269,7 +269,7 @@
# if !defined(SIMDE_ARCH_X86_SSE4_1)
# define SIMDE_ARCH_X86_SSE4_1 1
# endif
# if !defined(SIMDE_ARCH_X86_SSE4_1)
# if !defined(SIMDE_ARCH_X86_SSE4_2)
# define SIMDE_ARCH_X86_SSE4_2 1
# endif
# endif
Expand Down

0 comments on commit 5e4b308

Please sign in to comment.