Test always

This commit is contained in:
Andrew Kane
2024-04-07 22:54:09 -07:00
parent 1f6ad15962
commit ffc0d46f5b
2 changed files with 2 additions and 7 deletions

View File

@@ -88,7 +88,7 @@ jobs:
- run: |
call "C:\Program Files\Microsoft Visual Studio\2022\Enterprise\VC\Auxiliary\Build\vcvars64.bat" && ^
cd %TEMP% && ^
nmake /NOLOGO /F Makefile.win OPTFLAGS="/arch:AVX2" && ^
nmake /NOLOGO /F Makefile.win && ^
nmake /NOLOGO /F Makefile.win install && ^
nmake /NOLOGO /F Makefile.win installcheck && ^
nmake /NOLOGO /F Makefile.win clean && ^

View File

@@ -8,15 +8,10 @@
#include "vector.h"
/* F16C has better performance than _Float16 (on x86-64) */
#if defined(__F16C__)
#define F16C_SUPPORT
/* TODO Improve detection */
#elif defined(_MSC_VER) && defined(__AVX2__)
#if defined(__F16C__) || defined(_MSC_VER)
#define F16C_SUPPORT
#elif defined(__FLT16_MAX__)
#define FLT16_SUPPORT
#else
#error "Not supported"
#endif
#ifdef FLT16_SUPPORT