From 5e4b3089dbaa54f9b9f46336bcb132bfcb72de4d Mon Sep 17 00:00:00 2001 From: Chris Bielow Date: Fri, 18 Aug 2023 10:35:18 +0200 Subject: [PATCH] fix SIMDE_ARCH_X86_SSE4_2 define 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. --- simde/simde-arch.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/simde/simde-arch.h b/simde/simde-arch.h index 89e859eea..c85f20ffd 100644 --- a/simde/simde-arch.h +++ b/simde/simde-arch.h @@ -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