...

Source file src/pkg/vendor/golang.org/x/sys/cpu/cpu_gc_x86.go

     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	
     5	// +build 386 amd64 amd64p32
     6	// +build !gccgo
     7	
     8	package cpu
     9	
    10	// cpuid is implemented in cpu_x86.s for gc compiler
    11	// and in cpu_gccgo.c for gccgo.
    12	func cpuid(eaxArg, ecxArg uint32) (eax, ebx, ecx, edx uint32)
    13	
    14	// xgetbv with ecx = 0 is implemented in cpu_x86.s for gc compiler
    15	// and in cpu_gccgo.c for gccgo.
    16	func xgetbv() (eax, edx uint32)
    17	

View as plain text