From a60bb9c15c8773f351535cd22645c777924c959b Mon Sep 17 00:00:00 2001 From: Andrew Kane Date: Sun, 7 Apr 2024 22:36:57 -0700 Subject: [PATCH] Test --- Makefile.win | 2 +- src/halfvec.h | 2 ++ 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/Makefile.win b/Makefile.win index 4ceb41b..48fd71b 100644 --- a/Makefile.win +++ b/Makefile.win @@ -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 diff --git a/src/halfvec.h b/src/halfvec.h index 56bdc73..9b689dc 100644 --- a/src/halfvec.h +++ b/src/halfvec.h @@ -15,6 +15,8 @@ #define F16C_SUPPORT #elif defined(__FLT16_MAX__) #define FLT16_SUPPORT +#else +#error "Not supported" #endif #ifdef FLT16_SUPPORT