...

Source file src/runtime/stubs_386.go

Documentation: runtime

     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  
     5  package runtime
     6  
     7  import "unsafe"
     8  
     9  func float64touint32(a float64) uint32
    10  func uint32tofloat64(a uint32) float64
    11  
    12  // stackcheck checks that SP is in range [g->stack.lo, g->stack.hi).
    13  func stackcheck()
    14  
    15  // Called from assembly only; declared for go vet.
    16  func setldt(slot uintptr, base unsafe.Pointer, size uintptr)
    17  func emptyfunc()
    18  
    19  //go:noescape
    20  func 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
    24  func getfp() uintptr { return 0 }
    25  

View as plain text