1
2
3
4
5
6
7
8
9 package cpu
10
11
12 func gccgoGetCpuidCount(eaxArg, ecxArg uint32, eax, ebx, ecx, edx *uint32)
13
14 func cpuid(eaxArg, ecxArg uint32) (eax, ebx, ecx, edx uint32) {
15 var a, b, c, d uint32
16 gccgoGetCpuidCount(eaxArg, ecxArg, &a, &b, &c, &d)
17 return a, b, c, d
18 }
19
20
21 func gccgoXgetbv(eax, edx *uint32)
22
23 func xgetbv() (eax, edx uint32) {
24 var a, d uint32
25 gccgoXgetbv(&a, &d)
26 return a, d
27 }
28
29
30
31 func darwinSupportsAVX512() bool {
32 return false
33 }
34
View as plain text