sm8550-common: Switch to armv9-a ARCH variant

Running below command:
$ cat /proc/cpuinfo | grep -m 1 Features
Features        : fp asimd evtstrm aes pmull sha1 sha2 crc32 atomics fphp
asimdhp cpuid asimdrdm jscvt fcma lrcpc dcpop sha3 sm3 sm4 asimddp sha512
asimdfhm dit uscat ilrcpc flagm ssbs sb paca pacg dcpodp flagm2 frint i8mm
bf16 bti

armv8-a-branchprot doesn't really do justice as armv8-2a or armv9-a
optimizations are not enabled. According to wikichip [1], it is
evident that we support armv8-2a.

[1] https://en.wikichip.org/wiki/arm/armv8#ARMv8_Extensions_and_Processor_Features

Change-Id: Ia986a60febb275e36ffe89518edf8c4ae3fc7225
Signed-off-by: Pranav Vashi <neobuddy89@gmail.com>
This commit is contained in:
Pranav Vashi
2023-08-15 19:32:59 +05:30
committed by chaptsand
parent 85157b05e3
commit c80fc07a76

View File

@@ -12,7 +12,7 @@ COMMON_PATH := device/samsung/sm8550-common
# Architecture # Architecture
TARGET_ARCH := arm64 TARGET_ARCH := arm64
TARGET_ARCH_VARIANT := armv8-a-branchprot TARGET_ARCH_VARIANT := armv9-a
TARGET_CPU_ABI := arm64-v8a TARGET_CPU_ABI := arm64-v8a
TARGET_CPU_ABI2 := TARGET_CPU_ABI2 :=
TARGET_CPU_VARIANT := generic TARGET_CPU_VARIANT := generic