aboutsummaryrefslogtreecommitdiff
path: root/include/libyuv/cpu_id.h
diff options
context:
space:
mode:
authorSadaf Ebrahimi <sadafebrahimi@google.com>2024-01-16 16:33:25 +0000
committerGerrit Code Review <noreply-gerritcodereview@google.com>2024-01-16 16:33:25 +0000
commitbed895aec6ca4c90c05ed777c68cca46f8380795 (patch)
treedfe2850850352197ac2aaf6861e412d9dc3b327e /include/libyuv/cpu_id.h
parent3641a27f7ae172b035456a4c5241dbfc77fe6351 (diff)
parent440b4f635b8efa694e5bbe23512c618ca550f9d2 (diff)
downloadlibyuv-bed895aec6ca4c90c05ed777c68cca46f8380795.tar.gz
Merge "Upgrade libyuv to af6ac8265bbd07bcf977526458b60305c4304288" into mainandroidx-test-uiautomator-releaseandroidx-graphics-release
Diffstat (limited to 'include/libyuv/cpu_id.h')
-rw-r--r--include/libyuv/cpu_id.h23
1 files changed, 12 insertions, 11 deletions
diff --git a/include/libyuv/cpu_id.h b/include/libyuv/cpu_id.h
index 203f7e0d..5a81e7c9 100644
--- a/include/libyuv/cpu_id.h
+++ b/include/libyuv/cpu_id.h
@@ -31,24 +31,25 @@ 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;
static const int kCpuHasFMA3 = 0x1000;
static const int kCpuHasF16C = 0x2000;
-static const int kCpuHasGFNI = 0x4000;
-static const int kCpuHasAVX512BW = 0x8000;
-static const int kCpuHasAVX512VL = 0x10000;
-static const int kCpuHasAVX512VNNI = 0x20000;
-static const int kCpuHasAVX512VBMI = 0x40000;
-static const int kCpuHasAVX512VBMI2 = 0x80000;
-static const int kCpuHasAVX512VBITALG = 0x100000;
-static const int kCpuHasAVX512VPOPCNTDQ = 0x200000;
+static const int kCpuHasAVX512BW = 0x4000;
+static const int kCpuHasAVX512VL = 0x8000;
+static const int kCpuHasAVX512VNNI = 0x10000;
+static const int kCpuHasAVX512VBMI = 0x20000;
+static const int kCpuHasAVX512VBMI2 = 0x40000;
+static const int kCpuHasAVX512VBITALG = 0x80000;
+static const int kCpuHasAVX10 = 0x100000;
+static const int kCpuHasAVXVNNI = 0x200000;
+static const int kCpuHasAVXVNNIINT8 = 0x400000;
// These flags are only valid on MIPS processors.
-static const int kCpuHasMIPS = 0x400000;
-static const int kCpuHasMSA = 0x800000;
+static const int kCpuHasMIPS = 0x800000;
+static const int kCpuHasMSA = 0x1000000;
// These flags are only valid on LOONGARCH processors.
static const int kCpuHasLOONGARCH = 0x2000000;