github.com/primecitizens/pcz/std@v0.2.1/runtime/sym_amd64.go (about) 1 // SPDX-License-Identifier: Apache-2.0 2 // Copyright 2023 The Prime Citizens 3 4 //go:build pcz && amd64 5 6 package runtime 7 8 // Called from compiled code; declared for vet; do NOT call from Go. 9 func gcWriteBarrierCX() {} 10 func gcWriteBarrierDX() {} 11 func gcWriteBarrierBX() {} 12 func gcWriteBarrierBP() {} 13 func gcWriteBarrierSI() {} 14 func gcWriteBarrierR8() {} 15 func gcWriteBarrierR9() {} 16 17 // stackcheck checks that SP is in range [g->stack.lo, g->stack.hi). 18 func stackcheck() 19 20 // Called from assembly only; declared for go vet. 21 func settls() // argument in DI 22 23 // Retpolines, used by -spectre=ret flag in cmd/asm, cmd/compile. 24 func retpolineAX() 25 func retpolineCX() 26 func retpolineDX() 27 func retpolineBX() 28 func retpolineBP() 29 func retpolineSI() 30 func retpolineDI() 31 func retpolineR8() 32 func retpolineR9() 33 func retpolineR10() 34 func retpolineR11() 35 func retpolineR12() 36 func retpolineR13() 37 func retpolineR14() 38 func retpolineR15()