Skip to content

Commit 3843e3e

Browse files
authored
use -maxv2 on haswell
1 parent fbcb14a commit 3843e3e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

kernel/Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ ifeq ($(TARGET_CORE), SKYLAKEX)
1717
endif
1818
endif
1919
else ifeq($(TARGET_CORE), HASWELL)
20-
override CFLAGS += -DBUILD_KERNEL -DTABLE_NAME=gotoblas_$(TARGET_CORE) -march=core-avx2
20+
override CFLAGS += -DBUILD_KERNEL -DTABLE_NAME=gotoblas_$(TARGET_CORE) -mavx2
2121
else
2222
override CFLAGS += -DBUILD_KERNEL -DTABLE_NAME=gotoblas_$(TARGET_CORE)
2323
endif

0 commit comments

Comments
 (0)