Du kan inte välja fler än 25 ämnen Ämnen måste starta med en bokstav eller siffra, kan innehålla bindestreck ('-') och vara max 35 tecken långa.

cpu_gc_x86.go 499B

123456789101112131415
  1. // Copyright 2018 The Go Authors. All rights reserved.
  2. // Use of this source code is governed by a BSD-style
  3. // license that can be found in the LICENSE file.
  4. //go:build (386 || amd64 || amd64p32) && gc
  5. package cpu
  6. // cpuid is implemented in cpu_x86.s for gc compiler
  7. // and in cpu_gccgo.c for gccgo.
  8. func cpuid(eaxArg, ecxArg uint32) (eax, ebx, ecx, edx uint32)
  9. // xgetbv with ecx = 0 is implemented in cpu_x86.s for gc compiler
  10. // and in cpu_gccgo.c for gccgo.
  11. func xgetbv() (eax, edx uint32)