mirror of
https://github.com/golang/go
synced 2024-11-08 09:26:11 -07:00
67805eaa95
Fixes #10092 This change makes it possible to use gccgo 5 as the GOROOT_BOOTSTRAP compiler. Change-Id: Ie3a312781ac1a09ea77f95b5a78c9488d437e0aa Reviewed-on: https://go-review.googlesource.com/8809 Run-TryBot: Dave Cheney <dave@cheney.net> Reviewed-by: Ian Lance Taylor <iant@golang.org>
17 lines
320 B
ArmAsm
17 lines
320 B
ArmAsm
// Copyright 2015 The Go Authors. All rights reserved.
|
|
// Use of this source code is governed by a BSD-style
|
|
// license that can be found in the LICENSE file.
|
|
|
|
// +build !gccgo
|
|
|
|
TEXT ·cpuid(SB),$0-12
|
|
MOVL ax+8(FP), AX
|
|
CPUID
|
|
MOVQ info+0(FP), DI
|
|
MOVL AX, 0(DI)
|
|
MOVL BX, 4(DI)
|
|
MOVL CX, 8(DI)
|
|
MOVL DX, 12(DI)
|
|
RET
|
|
|