1// Copyright (c) 2015 Klaus Post, released under MIT License. See LICENSE file. 2 3// +build !amd64,!386 gccgo 4 5package cpuid 6 7func initCPU() { 8 cpuid = func(op uint32) (eax, ebx, ecx, edx uint32) { 9 return 0, 0, 0, 0 10 } 11 12 cpuidex = func(op, op2 uint32) (eax, ebx, ecx, edx uint32) { 13 return 0, 0, 0, 0 14 } 15 16 xgetbv = func(index uint32) (eax, edx uint32) { 17 return 0, 0 18 } 19 20 rdtscpAsm = func() (eax, ebx, ecx, edx uint32) { 21 return 0, 0, 0, 0 22 } 23} 24