From 875a50ff63b2c86af770949d563ee851d08eb46e Mon Sep 17 00:00:00 2001 From: "H.J. Lu" Date: Thu, 8 Oct 2020 08:33:45 -0700 Subject: : Add AVX-VNNI support Add AVX-VNNI support to . --- sysdeps/x86/cpu-features.c | 2 ++ 1 file changed, 2 insertions(+) (limited to 'sysdeps/x86/cpu-features.c') diff --git a/sysdeps/x86/cpu-features.c b/sysdeps/x86/cpu-features.c index 4ecb8cee2c..b0fac22c27 100644 --- a/sysdeps/x86/cpu-features.c +++ b/sysdeps/x86/cpu-features.c @@ -119,6 +119,8 @@ update_usable (struct cpu_features *cpu_features) cpu_features->preferred[index_arch_AVX_Fast_Unaligned_Load] |= bit_arch_AVX_Fast_Unaligned_Load; } + /* Determine if AVX-VNNI is usable. */ + CPU_FEATURE_SET_USABLE (cpu_features, AVX_VNNI); /* Determine if FMA is usable. */ CPU_FEATURE_SET_USABLE (cpu_features, FMA); /* Determine if VAES is usable. */ -- cgit 1.4.1