From 7066039f37182e89820b8c0f4b075a2941336d15 Mon Sep 17 00:00:00 2001 From: Jake Weinstein Date: Mon, 7 Aug 2023 14:51:00 +0900 Subject: Use -march=armv9-a for Armv9-A arch variant Additional context from krzysio@google.com in aosp/3544179: Currently, TARGET_ARCH_VARIANT := armv9-a actually uses armv8.2-a+dotprod, which seems to have been a workaround for toolchain issues that have since been fixed. Right now only one proto board uses this TARGET_ARCH_VARIANT internally, so it seems reasonable to correct this. Test: llvm-objdump -d Test: presubmit Change-Id: I99db407eb96d82d189378fd5abd4cc80ab802f20 --- cc/config/arm64_device.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'cc') diff --git a/cc/config/arm64_device.go b/cc/config/arm64_device.go index 0dcf2cfd4..45b15809f 100644 --- a/cc/config/arm64_device.go +++ b/cc/config/arm64_device.go @@ -44,7 +44,7 @@ var ( // On ARMv9 and later, Pointer Authentication Codes (PAC) are mandatory, // so -fstack-protector is unnecessary. "armv9-a": []string{ - "-march=armv8.2-a+dotprod", + "-march=armv9-a", "-mbranch-protection=standard", "-fno-stack-protector", }, -- cgit v1.2.3-59-g8ed1b