gvisor/pkg/cpuid
Michael Pratt 245d81561b Clean up cpuid_parse_test
Actually parse flags from cpuinfo to avoid mistakenly matching
substrings in cpuinfo that happen to match a flags.

Some features were only exposed in recent versions of Linux. Don't
require them to appear in cpuinfo on old versions of Linux.

Move PREFETCHWT1 back to parse only features. It isn't actually exposed
in Linux yet. Move SDBG to shown features. It has been visible since
Linux 4.3.

PiperOrigin-RevId: 219381731
Change-Id: Ied7c0ee7c8a9879683e81933de56c9074b01108f
2018-10-30 15:56:12 -07:00
..
BUILD Automated rollback of changelist 207037226 2018-08-02 10:42:48 -07:00
cpu_amd64.s Use correct company name in copyright header 2018-10-19 16:35:11 -07:00
cpuid.go Clean up cpuid_parse_test 2018-10-30 15:56:12 -07:00
cpuid_parse_test.go Clean up cpuid_parse_test 2018-10-30 15:56:12 -07:00
cpuid_test.go Add AMD-specific features to cpuid package 2018-10-26 16:55:39 -07:00