From 8f607c7943e80faea5fec30f312587ec6a06ea83 Mon Sep 17 00:00:00 2001 From: Krzysztof KosiƄski Date: Mon, 17 Mar 2025 16:07:50 +0000 Subject: Add support for ARMv9.3-A and ARMv9.4-A. Bug: 364383722 Test: presubmit, internal build with the new arch variant Change-Id: I151d7f5953cbec10e64887184a04d9121cde63e9 --- cc/config/arm64_device.go | 10 ++++++++++ 1 file changed, 10 insertions(+) (limited to 'cc') diff --git a/cc/config/arm64_device.go b/cc/config/arm64_device.go index 45b15809f..25edb798d 100644 --- a/cc/config/arm64_device.go +++ b/cc/config/arm64_device.go @@ -53,6 +53,16 @@ var ( "-mbranch-protection=standard", "-fno-stack-protector", }, + "armv9-3a": []string{ + "-march=armv9.3-a", + "-mbranch-protection=standard", + "-fno-stack-protector", + }, + "armv9-4a": []string{ + "-march=armv9.4-a", + "-mbranch-protection=standard", + "-fno-stack-protector", + }, } arm64Ldflags = []string{ -- cgit v1.2.3-59-g8ed1b