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