github.com/likebike/go--@v0.0.0-20190911215757-0bd925d16e96/go/src/cmd/dist/cpuid_386.s (about) 1 // Copyright 2015 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 !gccgo 6 7 TEXT ·cpuid(SB),$0-8 8 MOVL ax+4(FP), AX 9 CPUID 10 MOVL info+0(FP), DI 11 MOVL AX, 0(DI) 12 MOVL BX, 4(DI) 13 MOVL CX, 8(DI) 14 MOVL DX, 12(DI) 15 RET 16