1// Copyright 2019 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//go:build ppc64le || ppc64 6 7package runtime 8 9import "unsafe" 10 11// Called from assembly only; declared for go vet. 12func load_g() 13func save_g() 14func reginit() 15 16//go:noescape 17func asmcgocall_no_g(fn, arg unsafe.Pointer) 18 19// Spills/loads arguments in registers to/from an internal/abi.RegArgs 20// respectively. Does not follow the Go ABI. 21func spillArgs() 22func unspillArgs() 23 24// getfp returns the frame pointer register of its caller or 0 if not implemented. 25// TODO: Make this a compiler intrinsic 26func getfp() uintptr { return 0 } 27