George Steed a038cda7b8 [AArch64] Enable detection of additional architecture features
In particular there are a few extensions that are interesting for us:

* FEAT_DotProd adds 4-way dot-product instructions which are useful in
  e.g. ARGBToY.

* FEAT_I8MM adds additional mixed-sign dot-product instructions which
  could be useful in e.g. ARGBToUV.

* FEAT_SVE and FEAT_SVE2 add support for the Scalable Vector Extension,
  which adds an array of new instructions including new widening loads
  and narrowing stores for dealing with mixed-width integer arithmetic
  efficiently and predication for avoiding the need for "any" cleanup
  loops.

This commit simply adds support for detecting the presence of these
features by extending the existing /proc/cpuinfo parsing, splitting it
into separate Arm and AArch64 functions for simplicity.

Since we have no space left in the bitset entries between Arm and X86
entries, we reuse some of the X86 entries for new AArch64 extensions.
This doesn't seem obviously problematic as long as we avoid setting
kCpuHasX86.

Bug: libyuv:973
Bug: libyuv:977
Change-Id: I8e256225fe12a4ba5da24460f54061e16eab6c57
Reviewed-on: https://chromium-review.googlesource.com/c/libyuv/libyuv/+/5378150
Commit-Queue: Frank Barchard <fbarchard@chromium.org>
Reviewed-by: Frank Barchard <fbarchard@chromium.org>
2024-04-05 17:48:22 +00:00
..
arm_v7.txt Neon instructions detect without using NDK so it will work within Android, and on other linux arm based platforms and builds 2012-01-26 02:14:52 +00:00
cortex_a510.txt [AArch64] Enable detection of additional architecture features 2024-04-05 17:48:22 +00:00
cortex_a715.txt [AArch64] Enable detection of additional architecture features 2024-04-05 17:48:22 +00:00
cortex_x3.txt [AArch64] Enable detection of additional architecture features 2024-04-05 17:48:22 +00:00
juno.txt use unix line endings 2018-06-20 23:19:59 +00:00
mips_loongson2k.txt Add unittest TestLinuxMipsMsaMmi. 2020-04-16 19:51:27 +00:00
mips_loongson3.txt Add unittest TestLinuxMipsMsaMmi. 2020-04-16 19:51:27 +00:00
mips_loongson_mmi.txt Add unittest TestLinuxMipsMsaMmi. 2020-04-16 19:51:27 +00:00
mips_msa.txt Add unittest TestLinuxMipsMsaMmi. 2020-04-16 19:51:27 +00:00
mips.txt Add unittest TestLinuxMipsMsaMmi. 2020-04-16 19:51:27 +00:00
riscv64_rvv_zvfh.txt Add riscv cpu info detection. 2023-04-06 15:58:29 +00:00
riscv64_rvv.txt Add riscv cpu info detection. 2023-04-06 15:58:29 +00:00
riscv64.txt Add riscv cpu info detection. 2023-04-06 15:58:29 +00:00
tegra3.txt Neon instructions detect without using NDK so it will work within Android, and on other linux arm based platforms and builds 2012-01-26 02:14:52 +00:00
test0.jpg MJPGToNV21 2018-10-24 22:01:13 +00:00
test1.jpg MJPGToNV21 2018-10-24 22:01:13 +00:00
test2.jpg MJPGToNV21 2018-10-24 22:01:13 +00:00
test3.jpg MJPGToNV21 2018-10-24 22:01:13 +00:00
test4.jpg MJPGToNV21 2018-10-24 22:01:13 +00:00