commit | 87d22e1adbef0c6b8c3cf56bac4b9d7128a693f7 | [log] [tgz] |
---|---|---|
author | Adithya R <gh0strider.2k18.reborn@gmail.com> | Sun Jan 24 14:02:20 2021 +0530 |
committer | Michael Bestas <mkbestas@lineageos.org> | Wed May 15 04:05:50 2024 +0300 |
tree | 51275ba733bb21d4a4b6190d00c9c063aa04ef36 | |
parent | 5e5be2e527fbad57565193803753f75d0790c570 [diff] |
FP4: Switch to dot product CPU variant * FP4:/ $ cat /proc/cpuinfo | grep -m 1 Features Features: fp asimd evtstrm aes pmull sha1 sha2 crc32 atomics fphp asimdhp cpuid asimdrdm lrcpc dcpop asimddp * From this, it's evident that our CPU (Snapdragon 680) supports all the features of ARMv8.2-DotProd [1]. Moreover AOSP sets this arch variant in their generic cortex-a55 ART target as well [2]. This should unlock some optimizations in different code paths. [1]: https://en.wikichip.org/wiki/arm/armv8#ARMv8_Extensions_and_Processor_Features [2]: https://android.googlesource.com/device/generic/art/+/refs/heads/master/armv8_cortex_a55/BoardConfig.mk#23 Change-Id: I484bb2bcc181c62e29c04bc6e467e5edea8ac0d8
diff --git a/BoardConfig.mk b/BoardConfig.mk index aa77bb7..2c5723a 100644 --- a/BoardConfig.mk +++ b/BoardConfig.mk
@@ -25,7 +25,7 @@ # Architecture TARGET_ARCH := arm64 -TARGET_ARCH_VARIANT := armv8-a +TARGET_ARCH_VARIANT := armv8-2a-dotprod TARGET_CPU_ABI := arm64-v8a TARGET_CPU_ABI2 := TARGET_CPU_VARIANT := cortex-a76