Skip to content
This repository has been archived by the owner on Sep 6, 2022. It is now read-only.

Commit

Permalink
begonia: Set arch variant to armv8-2a-dotprod
Browse files Browse the repository at this point in the history
begonia:/ $ cat /proc/cpuinfo | grep Features -m 1
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 (G90T) supports
all the features of ARMv8.2-DotProd [1]. This should unlock some
optimizations in different code paths.

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

Change-Id: I54c5901aa6e02dad4fbe20af9221c54d3e6b82ce
Signed-off-by: 7Soldier <reg.fm4@gmail.com>
  • Loading branch information
adithya2306 authored and 7Soldier committed Jul 13, 2022
1 parent 39730e1 commit 7028d89
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion BoardConfig.mk
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ DEVICE_PATH := device/xiaomi/begonia

# Architecture
TARGET_ARCH := arm64
TARGET_ARCH_VARIANT := armv8-2a
TARGET_ARCH_VARIANT := armv8-2a-dotprod
TARGET_CPU_ABI := arm64-v8a
TARGET_CPU_ABI2 :=
TARGET_CPU_VARIANT := generic
Expand Down

0 comments on commit 7028d89

Please sign in to comment.