sm8750-common: Downgrade to ARMv8.2-A.

Clang assumes that ARMv9-A chips always implement SVE2,
but SM8750 (Snapdragon 8 Elite) does not, so it broke when
aosp/2292699 made the "armv9-a" variant actually set ARMv9-A.
Before, it was actually using ARMv8.2-A with some additional
flags due to a variety of SVE-specific toolchain and
configuration issues that are fixed now.

Downgrade SM8750 to the "ARMv8.2-A with dotprod extension"
arch variant, which is the closest to the previous
configuration, until we can add a proper "ARMv9-A without SVE"
arch variant.

Bug: 364383722
Test: presubmit
Change-Id: I69578aad149f6a28955031ca24bc1d0cc7cc0388
This commit is contained in:
Krzysztof Kosiński
2025-03-20 18:48:19 +00:00
committed by LuK1337
parent 957cb3fd1c
commit 979580d653

View File

@@ -28,7 +28,7 @@ AB_OTA_PARTITIONS += \
# Architecture
TARGET_ARCH := arm64
TARGET_ARCH_VARIANT := armv9-a
TARGET_ARCH_VARIANT := armv8-2a-dotprod
TARGET_CPU_ABI := arm64-v8a
TARGET_CPU_VARIANT := generic
TARGET_CPU_VARIANT_RUNTIME := oryon