go/src/cmd/internal/obj/x86/obj6.go

func CanUse1InsnTLS(ctxt *obj.Link) bool {}

func progedit(ctxt *obj.Link, p *obj.Prog, newprog obj.ProgAlloc) {}

// Rewrite p, if necessary, to access global data via the global offset table.
func rewriteToUseGot(ctxt *obj.Link, p *obj.Prog, newprog obj.ProgAlloc) {}

func rewriteToPcrel(ctxt *obj.Link, p *obj.Prog, newprog obj.ProgAlloc) {}

const markBit

func preprocess(ctxt *obj.Link, cursym *obj.LSym, newprog obj.ProgAlloc) {}

func isZeroArgRuntimeCall(s *obj.LSym) bool {}

func indir_cx(ctxt *obj.Link, a *obj.Addr) {}

// loadG ensures the G is loaded into a register (either CX or REGG),
// appending instructions to p if necessary. It returns the new last
// instruction and the G register.
func loadG(ctxt *obj.Link, cursym *obj.LSym, p *obj.Prog, newprog obj.ProgAlloc) (*obj.Prog, int16) {}

// Append code to p to check for stack split.
// Appends to (does not overwrite) p.
// Assumes g is in rg.
// Returns last new instruction and G register.
func stacksplit(ctxt *obj.Link, cursym *obj.LSym, p *obj.Prog, newprog obj.ProgAlloc, framesize int32, textarg int32) (*obj.Prog, int16) {}

func isR15(r int16) bool {}

func addrMentionsR15(a *obj.Addr) bool {}

func progMentionsR15(p *obj.Prog) bool {}

func addrUsesGlobal(a *obj.Addr) bool {}

func progUsesGlobal(p *obj.Prog) bool {}

type rwMask

const readFrom

const readTo

const readReg

const readFrom3

const writeFrom

const writeTo

const writeReg

const writeFrom3

// progRW returns a mask describing the effects of the instruction p.
// Note: this isn't exhaustively accurate. It is only currently used for detecting
// reads/writes to R15, so SSE register behavior isn't fully correct, and
// other weird cases (e.g. writes to DX by CLD) also aren't captured.
func progRW(p *obj.Prog) rwMask {}

// progReadsR15 reports whether p reads the register R15.
func progReadsR15(p *obj.Prog) bool {}

// progWritesR15 reports whether p writes the register R15.
func progWritesR15(p *obj.Prog) bool {}

func errorCheck(ctxt *obj.Link, s *obj.LSym) {}

var unaryDst

var Linkamd64

var Link386