Skip to content

Commit 8892121

Browse files
authored
Merge pull request #4462 from martin-frbg/issue4449
Use +sve in arch declarations of the fallback paths for SVE targets
2 parents d6a5174 + 48a4c4d commit 8892121

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

Makefile.arm64

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -116,13 +116,13 @@ endif
116116
endif
117117
endif
118118
else
119-
CCOMMON_OPT += -march=armv8.2-a -mtune=cortex-a72
119+
CCOMMON_OPT += -march=armv8.2-a+sve -mtune=cortex-a72
120120
ifneq ($(F_COMPILER), NAG)
121121
FCOMMON_OPT += -march=armv8.2-a -mtune=cortex-a72
122122
endif
123123
endif
124124
else
125-
CCOMMON_OPT += -march=armv8-a -mtune=cortex-a72
125+
CCOMMON_OPT += -march=armv8-a+sve -mtune=cortex-a72
126126
ifneq ($(F_COMPILER), NAG)
127127
FCOMMON_OPT += -march=armv8-a -mtune=cortex-a72
128128
endif
@@ -138,7 +138,7 @@ ifeq (1, $(filter 1,$(GCCMINORVERSIONGTEQ4) $(GCCVERSIONGTEQ11) $(ISCLANG)))
138138
ifneq ($(OSNAME), Darwin)
139139
CCOMMON_OPT += -march=armv8.5-a+sve+sve2+bf16 -mtune=neoverse-n2
140140
else
141-
CCOMMON_OPT += -march=armv8.2-a -mtune=cortex-a72
141+
CCOMMON_OPT += -march=armv8.2-a+sve -mtune=cortex-a72
142142
endif
143143
ifneq ($(F_COMPILER), NAG)
144144
FCOMMON_OPT += -march=armv8.5-a+sve+sve2+bf16 -mtune=neoverse-n2
@@ -156,13 +156,13 @@ endif
156156
endif
157157
endif
158158
else
159-
CCOMMON_OPT += -march=armv8.2-a -mtune=cortex-a72
159+
CCOMMON_OPT += -march=armv8.2-a+sve -mtune=cortex-a72
160160
ifneq ($(F_COMPILER), NAG)
161161
FCOMMON_OPT += -march=armv8.2-a -mtune=cortex-a72
162162
endif
163163
endif
164164
else
165-
CCOMMON_OPT += -march=armv8-a -mtune=cortex-a72
165+
CCOMMON_OPT += -march=armv8-a+sve -mtune=cortex-a72
166166
ifneq ($(F_COMPILER), NAG)
167167
FCOMMON_OPT += -march=armv8-a -mtune=cortex-a72
168168
endif

0 commit comments

Comments
 (0)