This commit is contained in:
Andrew Kane
2024-04-07 22:36:57 -07:00
parent 8a7f5d14b8
commit a60bb9c15c
2 changed files with 3 additions and 1 deletions

View File

@@ -9,7 +9,7 @@ REGRESS_OPTS = --inputdir=test --load-extension=$(EXTENSION)
# For /arch flags
# https://learn.microsoft.com/en-us/cpp/build/reference/arch-minimum-cpu-architecture
OPTFLAGS = /arch:AVX2
OPTFLAGS =
# For auto-vectorization:
# - MSVC (needs /O2 /fp:fast) - https://learn.microsoft.com/en-us/cpp/parallel/auto-parallelization-and-auto-vectorization?#auto-vectorizer

View File

@@ -15,6 +15,8 @@
#define F16C_SUPPORT
#elif defined(__FLT16_MAX__)
#define FLT16_SUPPORT
#else
#error "Not supported"
#endif
#ifdef FLT16_SUPPORT