diff options
author | Frank Barchard <fbarchard@google.com> | 2024-01-08 23:38:36 -0800 |
---|---|---|
committer | libyuv LUCI CQ <libyuv-scoped@luci-project-accounts.iam.gserviceaccount.com> | 2024-01-10 00:08:22 +0000 |
commit | af6ac8265bbd07bcf977526458b60305c4304288 (patch) | |
tree | 3c344bd0ccf39cedd725ac29a5f76b4107dc1363 /include/libyuv/cpu_id.h | |
parent | ee53a66c5cfe6723f924818cbed92abe01749b83 (diff) | |
download | libyuv-af6ac8265bbd07bcf977526458b60305c4304288.tar.gz |
AVX10 cpuid detect added
Replace unused popcount feature bit
Bug: libyuv:911
Change-Id: Icd88fcc732751d39b0950d5f09a58bc9ac2c4e30
Reviewed-on: https://chromium-review.googlesource.com/c/libyuv/libyuv/+/5179911
Reviewed-by: richard winterton <rrwinterton@gmail.com>
Commit-Queue: Frank Barchard <fbarchard@chromium.org>
Diffstat (limited to 'include/libyuv/cpu_id.h')
-rw-r--r-- | include/libyuv/cpu_id.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/include/libyuv/cpu_id.h b/include/libyuv/cpu_id.h index 434771bc..5a81e7c9 100644 --- a/include/libyuv/cpu_id.h +++ b/include/libyuv/cpu_id.h @@ -31,7 +31,7 @@ static const int kCpuHasX86 = 0x10; static const int kCpuHasSSE2 = 0x20; static const int kCpuHasSSSE3 = 0x40; static const int kCpuHasSSE41 = 0x80; -static const int kCpuHasSSE42 = 0x100; // unused at this time. +static const int kCpuHasSSE42 = 0x100; static const int kCpuHasAVX = 0x200; static const int kCpuHasAVX2 = 0x400; static const int kCpuHasERMS = 0x800; @@ -43,7 +43,7 @@ static const int kCpuHasAVX512VNNI = 0x10000; static const int kCpuHasAVX512VBMI = 0x20000; static const int kCpuHasAVX512VBMI2 = 0x40000; static const int kCpuHasAVX512VBITALG = 0x80000; -static const int kCpuHasAVX512VPOPCNTDQ = 0x100000; +static const int kCpuHasAVX10 = 0x100000; static const int kCpuHasAVXVNNI = 0x200000; static const int kCpuHasAVXVNNIINT8 = 0x400000; |