Skip to content

Commit 0ab7618

Browse files
authored
Add march=armv8+sve to non-PGI options for SVE-capable ARM64 targets
1 parent 6506d70 commit 0ab7618

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

kernel/Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -101,7 +101,7 @@ else ifneq ($(filter NEOVERSEN2 NEOVERSEV1, $(TARGET_CORE)),)
101101
ifeq ($(C_COMPILER), PGI)
102102
override CFLAGS += -DBUILD_KERNEL -DTABLE_NAME=gotoblas_$(TARGET_CORE) -Msve_intrinsics
103103
else
104-
override CFLAGS += -DBUILD_KERNEL -DTABLE_NAME=gotoblas_$(TARGET_CORE)
104+
override CFLAGS += -DBUILD_KERNEL -DTABLE_NAME=gotoblas_$(TARGET_CORE) -march=armv8-a+sve
105105
endif
106106
else
107107
override CFLAGS += -DBUILD_KERNEL -DTABLE_NAME=gotoblas_$(TARGET_CORE)

0 commit comments

Comments
 (0)