Commit b45a14cc authored by Michael R. Crusoe's avatar Michael R. Crusoe

simde-arch: include hedley for setting F16C for MSVC 2022+ with AVX2

parent 3ce91d4c
...@@ -42,6 +42,8 @@ ...@@ -42,6 +42,8 @@
#if !defined(SIMDE_ARCH_H) #if !defined(SIMDE_ARCH_H)
#define SIMDE_ARCH_H #define SIMDE_ARCH_H
#include "hedley.h"
/* Alpha /* Alpha
<https://en.wikipedia.org/wiki/DEC_Alpha> */ <https://en.wikipedia.org/wiki/DEC_Alpha> */
#if defined(__alpha__) || defined(__alpha) || defined(_M_ALPHA) #if defined(__alpha__) || defined(__alpha) || defined(_M_ALPHA)
...@@ -331,7 +333,7 @@ ...@@ -331,7 +333,7 @@
# if defined(__VPCLMULQDQ__) # if defined(__VPCLMULQDQ__)
# define SIMDE_ARCH_X86_VPCLMULQDQ 1 # define SIMDE_ARCH_X86_VPCLMULQDQ 1
# endif # endif
# if defined(__F16C__) || ( HEDLEY_MSVC_VERSION_CHECK(19,30,0) && defined(SIMDE_ARCH_X86_AVX2) ) # if defined(__F16C__) || (defined(HEDLEY_MSVC_VERSION) && HEDLEY_MSVC_VERSION_CHECK(19,30,0) && defined(SIMDE_ARCH_X86_AVX2) )
# define SIMDE_ARCH_X86_F16C 1 # define SIMDE_ARCH_X86_F16C 1
# endif # endif
#endif #endif
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment