Frank Barchard fa16ddbb9f cpuid show vector length on ARM and RISCV
- additional asm volatile changes from github
- rotate mips remove C function - moved to common

Run on Samsung S22
[ RUN      ] LibYUVBaseTest.TestCpuHas
Kernel Version 5.10
Has Arm 0x2
Has Neon 0x4
Has Neon DotProd 0x10
Has Neon I8MM 0x20
Has SVE 0x40
Has SVE2 0x80
Has SME 0x0
SVE vector length: 16 bytes
[       OK ] LibYUVBaseTest.TestCpuHas (0 ms)
[ RUN      ] LibYUVBaseTest.TestCompilerMacros
__ATOMIC_RELAXED 0
__cplusplus 201703
__clang_major__ 17
__clang_minor__ 0
__GNUC__ 4
__GNUC_MINOR__ 2
__aarch64__ 1
__clang__ 1
__llvm__ 1
__pic__ 2
INT_TYPES_DEFINED
__has_feature

Run on RISCV qemu emulating SiFive X280:
[ RUN      ] LibYUVBaseTest.TestCpuHas
Kernel Version 6.6
Has RISCV 0x10000000
Has RVV 0x20000000
RVV vector length: 64 bytes
[       OK ] LibYUVBaseTest.TestCpuHas (4 ms)
[ RUN      ] LibYUVBaseTest.TestCompilerMacros
__ATOMIC_RELAXED 0
__cplusplus 202002
__clang_major__ 9999
__clang_minor__ 0
__GNUC__ 4
__GNUC_MINOR__ 2
__riscv 1
__riscv_vector 1
__riscv_v_intrinsic 12000
__riscv_zve64x 1000000
__clang__ 1
__llvm__ 1
__pic__ 2
INT_TYPES_DEFINED
__has_feature

Bug: b/42280943
Change-Id: I53cf0450be4965a28942e113e4c77295ace70999
Reviewed-on: https://chromium-review.googlesource.com/c/libyuv/libyuv/+/5672088
Reviewed-by: David Gao <davidgao@google.com>
2024-07-02 18:10:56 +00:00
..
color.cc Rounding added to scaling upsampler 2021-02-10 18:51:02 +00:00
compare.cc tidy applied with all cppcoreguidelines and google 2018-02-07 02:28:25 +00:00
cpuid.c cpuid show vector length on ARM and RISCV 2024-07-02 18:10:56 +00:00
i444tonv12_eg.cc i444tonv12_eg example program 2020-04-28 16:35:49 +00:00
Makefile Add comment in Makefile OpenMP for MacOS 2017-12-05 18:53:45 +00:00
psnr_main.cc Fix -Wshadow. 2021-12-06 12:17:53 +00:00
psnr.cc Add AYUVToNV12 and NV21ToNV12 2019-04-12 17:48:45 +00:00
psnr.h tidy applied with readability-inconsistent-declaration-parameter-name 2018-02-07 00:24:25 +00:00
ssim.cc tidy applied with all cppcoreguidelines and google 2018-02-07 02:28:25 +00:00
ssim.h Switch to C99 types 2018-01-23 19:16:05 +00:00
yuvconstants.c yuvconstants.c: fix double->float conv warnings 2023-05-09 18:50:29 +00:00
yuvconvert.cc I420ToRGB24MatrixFilter function added 2022-09-16 19:46:47 +00:00