go/src/internal/cpu/cpu_x86.go

const CacheLinePadSize

// cpuid is implemented in cpu_x86.s.
func cpuid(eaxArg, ecxArg uint32) (eax, ebx, ecx, edx uint32)

// xgetbv with ecx = 0 is implemented in cpu_x86.s.
func xgetbv() (eax, edx uint32)

// getGOAMD64level is implemented in cpu_x86.s. Returns number in [1,4].
func getGOAMD64level() int32

const cpuid_SSE3

const cpuid_PCLMULQDQ

const cpuid_SSSE3

const cpuid_FMA

const cpuid_SSE41

const cpuid_SSE42

const cpuid_POPCNT

const cpuid_AES

const cpuid_OSXSAVE

const cpuid_AVX

const cpuid_BMI1

const cpuid_AVX2

const cpuid_BMI2

const cpuid_ERMS

const cpuid_AVX512F

const cpuid_ADX

const cpuid_SHA

const cpuid_AVX512BW

const cpuid_AVX512VL

const cpuid_FSRM

const cpuid_RDTSCP

var maxExtendedFunctionInformation

func doinit() {}

func isSet(hwc uint32, value uint32) bool {}

// Name returns the CPU name given by the vendor.
// If the CPU name can not be determined an
// empty string is returned.
func Name() string {}

func appendBytes(b []byte, args ...uint32) []byte {}