| Makefile | ●●●●● patch | view | raw | blame | history | |
| src/gemm.c | ●●●●● patch | view | raw | blame | history |
Makefile
@@ -47,9 +47,9 @@ CFLAGS=-Wall -Wfatal-errors -Wno-unused-result -Wno-unknown-pragmas ifeq ($(DEBUG), 1) OPTS=-O0 -g OPTS= -O0 -g else OPTS=-ffp-contract=fast -mavx CFLAGS+= -ffp-contract=fast -mavx endif CFLAGS+=$(OPTS) src/gemm.c
@@ -111,7 +111,7 @@ } #endif inline int simd_detect_x86(unsigned int idFeature) int simd_detect_x86(unsigned int idFeature) { uint32_t regs[4]; // EAX, EBX, ECX, EDX; #ifdef _WIN32 @@ -127,7 +127,7 @@ return 1; } inline int is_fma_avx() { int is_fma_avx() { static int result = -1; if (result == -1) { result = simd_detect_x86(AVXFlag);