Frank Barchard fe51553f5f Revert "[AArch64] Use getauxval(AT_HWCAP{,2}) for feature detection"
This reverts commit ba0bba5b2b7e38c9365a5d152b4efa0458863213.

Reason for revert: breaks builds on windows and mac



Step _compile_ failed. Error logs are shown below:
[1/104] CXX obj/libyuv_internal/cpu_id.o
FAILED: obj/libyuv_internal/cpu_id.o
../../buildtools/reclient/rewrapper -cfg=../../buildtools/reclient_cfgs/chromium-browser-clang/rewra...(too long)
../../source/cpu_id.cc:25:10: fatal error: 'sys/auxv.h' file not found
25 | #include   // For getauxval()
|          ^~~~~~~~~~~~
1 error generated.
More information in raw_io.output_text[failure_summary]




Original change's description:
> [AArch64] Use getauxval(AT_HWCAP{,2}) for feature detection
>
> This has the advantage of also working under emulation where
> faking /proc/cpuinfo is not supported.
>
> For the Chromium sandbox, getauxval is supported since API version 18.
> The minimum supported API version at time of writing is 21 so we should
> be able to use getauxval unconditionally. On the off-chance the call
> fails it will return 0 and we will correctly fall-back to using only
> Neon.
>
> Change-Id: Ibbaa9caec1915ac0725c42d6cd2abc7ce19786c7
> Reviewed-on: https://chromium-review.googlesource.com/c/libyuv/libyuv/+/5453620
> Reviewed-by: Frank Barchard <fbarchard@chromium.org>

Change-Id: Ic0f764217af7b4d998f19a8f78fc04ca85a45a3b
No-Presubmit: true
No-Tree-Checks: true
No-Try: true
Reviewed-on: https://chromium-review.googlesource.com/c/libyuv/libyuv/+/5463918
Bot-Commit: Rubber Stamper <rubber-stamper@appspot.gserviceaccount.com>
Reviewed-by: Frank Barchard <fbarchard@chromium.org>
Commit-Queue: Frank Barchard <fbarchard@chromium.org>
2024-04-19 06:52: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 Revert "[AArch64] Use getauxval(AT_HWCAP{,2}) for feature detection" 2024-04-19 06:52:22 +00:00
cortex_a715.txt Revert "[AArch64] Use getauxval(AT_HWCAP{,2}) for feature detection" 2024-04-19 06:52:22 +00:00
cortex_x3.txt Revert "[AArch64] Use getauxval(AT_HWCAP{,2}) for feature detection" 2024-04-19 06:52:22 +00:00
juno.txt Revert "[AArch64] Use getauxval(AT_HWCAP{,2}) for feature detection" 2024-04-19 06:52:22 +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