var golang.org/x/sys/cpu.X86
108 uses
golang.org/x/sys/cpu (current package)
cpu.go#L31: var X86 struct {
cpu_x86.go#L15: {Name: "adx", Feature: &X86.HasADX},
cpu_x86.go#L16: {Name: "aes", Feature: &X86.HasAES},
cpu_x86.go#L17: {Name: "avx", Feature: &X86.HasAVX},
cpu_x86.go#L18: {Name: "avx2", Feature: &X86.HasAVX2},
cpu_x86.go#L19: {Name: "avx512", Feature: &X86.HasAVX512},
cpu_x86.go#L20: {Name: "avx512f", Feature: &X86.HasAVX512F},
cpu_x86.go#L21: {Name: "avx512cd", Feature: &X86.HasAVX512CD},
cpu_x86.go#L22: {Name: "avx512er", Feature: &X86.HasAVX512ER},
cpu_x86.go#L23: {Name: "avx512pf", Feature: &X86.HasAVX512PF},
cpu_x86.go#L24: {Name: "avx512vl", Feature: &X86.HasAVX512VL},
cpu_x86.go#L25: {Name: "avx512bw", Feature: &X86.HasAVX512BW},
cpu_x86.go#L26: {Name: "avx512dq", Feature: &X86.HasAVX512DQ},
cpu_x86.go#L27: {Name: "avx512ifma", Feature: &X86.HasAVX512IFMA},
cpu_x86.go#L28: {Name: "avx512vbmi", Feature: &X86.HasAVX512VBMI},
cpu_x86.go#L29: {Name: "avx512vnniw", Feature: &X86.HasAVX5124VNNIW},
cpu_x86.go#L30: {Name: "avx5124fmaps", Feature: &X86.HasAVX5124FMAPS},
cpu_x86.go#L31: {Name: "avx512vpopcntdq", Feature: &X86.HasAVX512VPOPCNTDQ},
cpu_x86.go#L32: {Name: "avx512vpclmulqdq", Feature: &X86.HasAVX512VPCLMULQDQ},
cpu_x86.go#L33: {Name: "avx512vnni", Feature: &X86.HasAVX512VNNI},
cpu_x86.go#L34: {Name: "avx512gfni", Feature: &X86.HasAVX512GFNI},
cpu_x86.go#L35: {Name: "avx512vaes", Feature: &X86.HasAVX512VAES},
cpu_x86.go#L36: {Name: "avx512vbmi2", Feature: &X86.HasAVX512VBMI2},
cpu_x86.go#L37: {Name: "avx512bitalg", Feature: &X86.HasAVX512BITALG},
cpu_x86.go#L38: {Name: "avx512bf16", Feature: &X86.HasAVX512BF16},
cpu_x86.go#L39: {Name: "amxtile", Feature: &X86.HasAMXTile},
cpu_x86.go#L40: {Name: "amxint8", Feature: &X86.HasAMXInt8},
cpu_x86.go#L41: {Name: "amxbf16", Feature: &X86.HasAMXBF16},
cpu_x86.go#L42: {Name: "bmi1", Feature: &X86.HasBMI1},
cpu_x86.go#L43: {Name: "bmi2", Feature: &X86.HasBMI2},
cpu_x86.go#L44: {Name: "cx16", Feature: &X86.HasCX16},
cpu_x86.go#L45: {Name: "erms", Feature: &X86.HasERMS},
cpu_x86.go#L46: {Name: "fma", Feature: &X86.HasFMA},
cpu_x86.go#L47: {Name: "osxsave", Feature: &X86.HasOSXSAVE},
cpu_x86.go#L48: {Name: "pclmulqdq", Feature: &X86.HasPCLMULQDQ},
cpu_x86.go#L49: {Name: "popcnt", Feature: &X86.HasPOPCNT},
cpu_x86.go#L50: {Name: "rdrand", Feature: &X86.HasRDRAND},
cpu_x86.go#L51: {Name: "rdseed", Feature: &X86.HasRDSEED},
cpu_x86.go#L52: {Name: "sse3", Feature: &X86.HasSSE3},
cpu_x86.go#L53: {Name: "sse41", Feature: &X86.HasSSE41},
cpu_x86.go#L54: {Name: "sse42", Feature: &X86.HasSSE42},
cpu_x86.go#L55: {Name: "ssse3", Feature: &X86.HasSSSE3},
cpu_x86.go#L58: {Name: "sse2", Feature: &X86.HasSSE2, Required: runtime.GOARCH == "amd64"},
cpu_x86.go#L73: X86.HasSSE2 = isSet(26, edx1)
cpu_x86.go#L75: X86.HasSSE3 = isSet(0, ecx1)
cpu_x86.go#L76: X86.HasPCLMULQDQ = isSet(1, ecx1)
cpu_x86.go#L77: X86.HasSSSE3 = isSet(9, ecx1)
cpu_x86.go#L78: X86.HasFMA = isSet(12, ecx1)
cpu_x86.go#L79: X86.HasCX16 = isSet(13, ecx1)
cpu_x86.go#L80: X86.HasSSE41 = isSet(19, ecx1)
cpu_x86.go#L81: X86.HasSSE42 = isSet(20, ecx1)
cpu_x86.go#L82: X86.HasPOPCNT = isSet(23, ecx1)
cpu_x86.go#L83: X86.HasAES = isSet(25, ecx1)
cpu_x86.go#L84: X86.HasOSXSAVE = isSet(27, ecx1)
cpu_x86.go#L85: X86.HasRDRAND = isSet(30, ecx1)
cpu_x86.go#L89: if X86.HasOSXSAVE {
cpu_x86.go#L105: X86.HasAVX = isSet(28, ecx1) && osSupportsAVX
cpu_x86.go#L112: X86.HasBMI1 = isSet(3, ebx7)
cpu_x86.go#L113: X86.HasAVX2 = isSet(5, ebx7) && osSupportsAVX
cpu_x86.go#L114: X86.HasBMI2 = isSet(8, ebx7)
cpu_x86.go#L115: X86.HasERMS = isSet(9, ebx7)
cpu_x86.go#L116: X86.HasRDSEED = isSet(18, ebx7)
cpu_x86.go#L117: X86.HasADX = isSet(19, ebx7)
cpu_x86.go#L119: X86.HasAVX512 = isSet(16, ebx7) && osSupportsAVX512 // Because avx-512 foundation is the core required extension
cpu_x86.go#L120: if X86.HasAVX512 {
cpu_x86.go#L121: X86.HasAVX512F = true
cpu_x86.go#L122: X86.HasAVX512CD = isSet(28, ebx7)
cpu_x86.go#L123: X86.HasAVX512ER = isSet(27, ebx7)
cpu_x86.go#L124: X86.HasAVX512PF = isSet(26, ebx7)
cpu_x86.go#L125: X86.HasAVX512VL = isSet(31, ebx7)
cpu_x86.go#L126: X86.HasAVX512BW = isSet(30, ebx7)
cpu_x86.go#L127: X86.HasAVX512DQ = isSet(17, ebx7)
cpu_x86.go#L128: X86.HasAVX512IFMA = isSet(21, ebx7)
cpu_x86.go#L129: X86.HasAVX512VBMI = isSet(1, ecx7)
cpu_x86.go#L130: X86.HasAVX5124VNNIW = isSet(2, edx7)
cpu_x86.go#L131: X86.HasAVX5124FMAPS = isSet(3, edx7)
cpu_x86.go#L132: X86.HasAVX512VPOPCNTDQ = isSet(14, ecx7)
cpu_x86.go#L133: X86.HasAVX512VPCLMULQDQ = isSet(10, ecx7)
cpu_x86.go#L134: X86.HasAVX512VNNI = isSet(11, ecx7)
cpu_x86.go#L135: X86.HasAVX512GFNI = isSet(8, ecx7)
cpu_x86.go#L136: X86.HasAVX512VAES = isSet(9, ecx7)
cpu_x86.go#L137: X86.HasAVX512VBMI2 = isSet(6, ecx7)
cpu_x86.go#L138: X86.HasAVX512BITALG = isSet(12, ecx7)
cpu_x86.go#L141: X86.HasAVX512BF16 = isSet(5, eax71)
cpu_x86.go#L144: X86.HasAMXTile = isSet(24, edx7)
cpu_x86.go#L145: X86.HasAMXInt8 = isSet(25, edx7)
cpu_x86.go#L146: X86.HasAMXBF16 = isSet(22, edx7)
github.com/segmentio/asm/cpu/x86
x86.go#L51: cpu.set(SSE2, X86.HasSSE2)
x86.go#L52: cpu.set(SSE3, X86.HasSSE3)
x86.go#L53: cpu.set(SSE41, X86.HasSSE41)
x86.go#L54: cpu.set(SSE42, X86.HasSSE42)
x86.go#L56: cpu.set(SSSE3, X86.HasSSSE3)
x86.go#L57: cpu.set(AVX, X86.HasAVX)
x86.go#L58: cpu.set(AVX2, X86.HasAVX2)
x86.go#L59: cpu.set(AVX512BF16, X86.HasAVX512BF16)
x86.go#L60: cpu.set(AVX512BITALG, X86.HasAVX512BITALG)
x86.go#L61: cpu.set(AVX512BW, X86.HasAVX512BW)
x86.go#L62: cpu.set(AVX512CD, X86.HasAVX512CD)
x86.go#L63: cpu.set(AVX512DQ, X86.HasAVX512DQ)
x86.go#L64: cpu.set(AVX512ER, X86.HasAVX512ER)
x86.go#L65: cpu.set(AVX512F, X86.HasAVX512F)
x86.go#L66: cpu.set(AVX512IFMA, X86.HasAVX512IFMA)
x86.go#L67: cpu.set(AVX512PF, X86.HasAVX512PF)
x86.go#L68: cpu.set(AVX512VBMI, X86.HasAVX512VBMI)
x86.go#L69: cpu.set(AVX512VBMI2, X86.HasAVX512VBMI2)
x86.go#L70: cpu.set(AVX512VL, X86.HasAVX512VL)
x86.go#L71: cpu.set(AVX512VNNI, X86.HasAVX512VNNI)
x86.go#L73: cpu.set(AVX512VPOPCNTDQ, X86.HasAVX512VPOPCNTDQ)
|
The pages are generated with Golds v0.6.7. (GOOS=linux GOARCH=amd64)
Golds is a Go 101 project developed by Tapir Liu.
PR and bug reports are welcome and can be submitted to the issue list.
Please follow @Go100and1 (reachable from the left QR code) to get the latest news of Golds. |