Merge pull request #3418 from martin-frbg/issue2927-2

Enable SVE for A64FX
This commit is contained in:
Martin Kroeker 2021-10-20 08:23:53 +02:00 committed by GitHub
commit c6208bbb45
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 3 additions and 3 deletions

View File

@ -155,9 +155,9 @@ endif
ifeq (1, $(filter 1,$(GCCVERSIONGTEQ11) $(ISCLANG)))
ifeq ($(CORE), A64FX)
CCOMMON_OPT += -march=armv8.2-a -mtune=a64fx
CCOMMON_OPT += -march=armv8.2-a+sve -mtune=a64fx
ifneq ($(F_COMPILER), NAG)
FCOMMON_OPT += -march=armv8.2-a -mtune=a64fx
FCOMMON_OPT += -march=armv8.2-a+sve -mtune=a64fx
endif
endif
endif