diff options
author | Michael Pratt <mpratt@google.com> | 2019-02-20 16:26:52 -0800 |
---|---|---|
committer | Shentubot <shentubot@google.com> | 2019-02-20 16:27:56 -0800 |
commit | b2a5ad047a26dbe06c16dfa5a4e150836b79fd7c (patch) | |
tree | 5354f266b23c529a15e8a315ff1f92a223abf927 /pkg/cpuid | |
parent | 15d3189884c2e8050992381ff2a1f0521eae0ba2 (diff) |
Automated rollback of changelist 234680481
PiperOrigin-RevId: 234892473
Change-Id: Ie568c67d299082a008a1cf9802942e5e03746501
Diffstat (limited to 'pkg/cpuid')
-rw-r--r-- | pkg/cpuid/cpuid.go | 2 | ||||
-rw-r--r-- | pkg/cpuid/cpuid_parse_test.go | 9 |
2 files changed, 3 insertions, 8 deletions
diff --git a/pkg/cpuid/cpuid.go b/pkg/cpuid/cpuid.go index 0571b7cde..68db7f33b 100644 --- a/pkg/cpuid/cpuid.go +++ b/pkg/cpuid/cpuid.go @@ -338,7 +338,7 @@ var x86FeatureStrings = map[Feature]string{ X86FeatureRTM: "rtm", X86FeatureCQM: "cqm", X86FeatureMPX: "mpx", - X86FeatureRDT: "rdt_a", + X86FeatureRDT: "rdt", X86FeatureAVX512F: "avx512f", X86FeatureAVX512DQ: "avx512dq", X86FeatureRDSEED: "rdseed", diff --git a/pkg/cpuid/cpuid_parse_test.go b/pkg/cpuid/cpuid_parse_test.go index e8f87a10e..7c202d73a 100644 --- a/pkg/cpuid/cpuid_parse_test.go +++ b/pkg/cpuid/cpuid_parse_test.go @@ -101,11 +101,6 @@ func TestHostFeatureFlags(t *testing.T) { // SDBG only exposed in // b1c599b8ff80ea79b9f8277a3f9f36a7b0cfedce (4.3). continue - // Block 2. - case f == X86FeatureRDT && (major < 4 || major == 4 && minor < 10): - // RDT only exposed in - // 4ab1586488cb56ed8728e54c4157cc38646874d9 (4.10). - continue // Block 3. case f == X86FeatureAVX512VBMI && (major < 4 || major == 4 && minor < 10): // AVX512VBMI only exposed in @@ -116,8 +111,8 @@ func TestHostFeatureFlags(t *testing.T) { // 3522c2a6a4f341058b8291326a945e2a2d2aaf55 (4.15). continue case f == X86FeaturePKU && (major < 4 || major == 4 && minor < 9): - // PKU only exposed in - // dfb4a70f20c5b3880da56ee4c9484bdb4e8f1e65 (4.9). + // PKU only exposed in dfb4a70f20c5b3880da56ee4c9484bdb4e8f1e65 + // (4.9). continue // Block 4. case f == X86FeatureXSAVES && (major < 4 || major == 4 && minor < 8): |