From d3d13347f815e6e709bf5ca8b6cd549d1a8e0664 Mon Sep 17 00:00:00 2001 From: Antti Kervinen Date: Mon, 27 Jan 2020 10:21:03 +0200 Subject: [PATCH] vendor: update klauspost/cpuid Update cpuid from v1.2.2 to v1.2.3. Brings in SGX improvements and CPUID leaf 7 feature detection (VBMI2, VPOPCNTDQ, GFNI, VAES, AVX512BITALG, VPCLMULQDQ, AVX512BF16, AVX512VP2INTERSECT). Blacklist cpuid-SGX* (issue #130). Signed-off-by: Antti Kervinen --- go.mod | 2 +- go.sum | 2 ++ source/cpu/cpu.go | 1 + 3 files changed, 4 insertions(+), 1 deletion(-) diff --git a/go.mod b/go.mod index 67e3a3b8e..123da437d 100644 --- a/go.mod +++ b/go.mod @@ -37,7 +37,7 @@ require ( github.com/imdario/mergo v0.3.7 // indirect github.com/json-iterator/go v1.1.7 // indirect github.com/jtolds/gls v4.20.0+incompatible // indirect - github.com/klauspost/cpuid v1.2.2-0.20191106130511-5a626f7029c9 + github.com/klauspost/cpuid v1.2.3 github.com/munnerz/goautoneg v0.0.0-20190414153302-2ae31c8b6b30 // indirect github.com/mxk/go-flowrate v0.0.0-20140419014527-cca7078d478f // indirect github.com/onsi/ginkgo v1.10.1 diff --git a/go.sum b/go.sum index 09835544d..e63ad1fe5 100644 --- a/go.sum +++ b/go.sum @@ -198,6 +198,8 @@ github.com/klauspost/cpuid v1.2.0 h1:NMpwD2G9JSFOE1/TJjGSo5zG7Yb2bTe7eq1jH+irmeE github.com/klauspost/cpuid v1.2.0/go.mod h1:Pj4uuM528wm8OyEC2QMXAi2YiTZ96dNQPGgoMS4s3ek= github.com/klauspost/cpuid v1.2.2-0.20191106130511-5a626f7029c9 h1:bBK4GTyzBQHZWkqWwl5j2Wh2GECowFzo0om/r98FCII= github.com/klauspost/cpuid v1.2.2-0.20191106130511-5a626f7029c9/go.mod h1:Pj4uuM528wm8OyEC2QMXAi2YiTZ96dNQPGgoMS4s3ek= +github.com/klauspost/cpuid v1.2.3 h1:CCtW0xUnWGVINKvE/WWOYKdsPV6mawAtvQuSl8guwQs= +github.com/klauspost/cpuid v1.2.3/go.mod h1:Pj4uuM528wm8OyEC2QMXAi2YiTZ96dNQPGgoMS4s3ek= github.com/konsorten/go-windows-terminal-sequences v1.0.1/go.mod h1:T0+1ngSBFLxvqU3pZ+m/2kptfBszLMUkC4ZK/EgS/cQ= github.com/kr/logfmt v0.0.0-20140226030751-b84e30acd515/go.mod h1:+0opPa2QZZtGFBFZlji/RkVcI2GknAs/DXo4wKdlNEc= github.com/kr/pretty v0.1.0/go.mod h1:dAy3ld7l9f0ibDNOQOHHMYYIIbhfbHSm3C4ZsoJORNo= diff --git a/source/cpu/cpu.go b/source/cpu/cpu.go index efe4485da..a5aba2720 100644 --- a/source/cpu/cpu.go +++ b/source/cpu/cpu.go @@ -60,6 +60,7 @@ var Config = NFDConfig{ "RDSEED", "RDTSCP", "SGX", + "SGXLC", "SSE", "SSE2", "SSE3",