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
5package runtime
6
7import "unsafe"
8
9func float64touint32(a float64) uint32
10func uint32tofloat64(a uint32) float64
11
12// stackcheck checks that SP is in range [g->stack.lo, g->stack.hi).
13func stackcheck()
14
15// Called from assembly only; declared for go vet.
16func setldt(slot uintptr, base unsafe.Pointer, size uintptr)
17func emptyfunc()
18
19//go:noescape
20func asmcgocall_no_g(fn, arg unsafe.Pointer)
21
22// getfp returns the frame pointer register of its caller or 0 if not implemented.
23// TODO: Make this a compiler intrinsic
24func getfp() uintptr { return 0 }
25