github.com/zxy12/go_duplicate_112_new@v0.0.0-20200807091221-747231827200/tmp/cpuid.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-12
     8      MOVL ax+8(FP), AX
     9      CPUID
    10      MOVQ 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