From d8671aa07cf138d983d78a4488cde58d1e8b36a8 Mon Sep 17 00:00:00 2001 From: Annop Wongwathanarat Date: Mon, 6 Nov 2023 13:11:05 +0000 Subject: [PATCH] arm compiler: use -mcpu instead of -march on N1 and V1 (#81) --- cpu/microarchitectures.json | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/cpu/microarchitectures.json b/cpu/microarchitectures.json index 2ddad29..ef8e844 100644 --- a/cpu/microarchitectures.json +++ b/cpu/microarchitectures.json @@ -2813,8 +2813,12 @@ ], "arm" : [ { - "versions": "20:", + "versions": "20:21.9", "flags" : "-march=armv8.2-a+fp16+rcpc+dotprod+crypto" + }, + { + "versions": "22:", + "flags" : "-mcpu=neoverse-n1" } ], "nvhpc" : [ @@ -2942,7 +2946,7 @@ }, { "versions": "22:", - "flags" : "-march=armv8.4-a+sve+ssbs+fp16+bf16+crypto+i8mm+rng" + "flags" : "-mcpu=neoverse-v1" } ], "nvhpc" : [