git.sr.ht/~pingoo/stdx@v0.0.0-20240218134121-094174641f6e/sysinfo/cpuid/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