Documentation ¶
Overview ¶
Package amd64 contains a code emitter for generating code for the x86_64 architecture.
Index ¶
- func NewEmitter(w io.Writer) *arch.Emitter
- type Emitter
- func (c *Emitter) Add()
- func (c *Emitter) Align()
- func (c *Emitter) And()
- func (c *Emitter) Bool()
- func (c *Emitter) Br(how string, n int)
- func (c *Emitter) BrCond(i string, n int)
- func (c *Emitter) BrEq(n int)
- func (c *Emitter) BrFalse(n int)
- func (c *Emitter) BrGe(n int)
- func (c *Emitter) BrGt(n int)
- func (c *Emitter) BrLe(n int)
- func (c *Emitter) BrLt(n int)
- func (c *Emitter) BrNe(n int)
- func (c *Emitter) BrTrue(n int)
- func (c *Emitter) BrUge(n int)
- func (c *Emitter) BrUgt(n int)
- func (c *Emitter) BrUle(n int)
- func (c *Emitter) BrUlt(n int)
- func (c *Emitter) CalSwtch()
- func (c *Emitter) Call(s string)
- func (c *Emitter) Calr()
- func (c *Emitter) Case(v, l int)
- func (c *Emitter) Clear()
- func (c *Emitter) Clear2()
- func (c *Emitter) Cmp(inst string)
- func (c *Emitter) Data()
- func (c *Emitter) Dec1ib()
- func (c *Emitter) Dec1iw()
- func (c *Emitter) Dec1pi(v int)
- func (c *Emitter) Dec2ib()
- func (c *Emitter) Dec2iw()
- func (c *Emitter) Dec2pi(v int)
- func (c *Emitter) Decgb(s string)
- func (c *Emitter) Decgw(s string)
- func (c *Emitter) Declb(a int)
- func (c *Emitter) Declw(a int)
- func (c *Emitter) Decpg(s string, v int)
- func (c *Emitter) Decpl(a int, v int)
- func (c *Emitter) Decps(a int, v int)
- func (c *Emitter) Decsb(a int)
- func (c *Emitter) Decsw(a int)
- func (c *Emitter) Defb(v int)
- func (c *Emitter) Defc(ch int)
- func (c *Emitter) Defl(v int)
- func (c *Emitter) Defp(v int)
- func (c *Emitter) Defw(v int)
- func (c *Emitter) Div()
- func (c *Emitter) Entry()
- func (c *Emitter) Eq()
- func (c *Emitter) Exit()
- func (c *Emitter) Gbss(s string, z int)
- func (c *Emitter) Ge()
- func (c *Emitter) Gt()
- func (c *Emitter) Inc1ib()
- func (c *Emitter) Inc1iw()
- func (c *Emitter) Inc1pi(v int)
- func (c *Emitter) Inc2ib()
- func (c *Emitter) Inc2iw()
- func (c *Emitter) Inc2pi(v int)
- func (c *Emitter) Incgb(s string)
- func (c *Emitter) Incgw(s string)
- func (c *Emitter) Inclb(a int)
- func (c *Emitter) Inclw(a int)
- func (c *Emitter) Incpg(s string, v int)
- func (c *Emitter) Incpl(a int, v int)
- func (c *Emitter) Incps(a int, v int)
- func (c *Emitter) Incsb(a int)
- func (c *Emitter) Incsw(a int)
- func (c *Emitter) Indb()
- func (c *Emitter) Indw()
- func (c *Emitter) Initlw(v int, a int)
- func (c *Emitter) Jump(n int)
- func (c *Emitter) Lbss(s string, z int)
- func (c *Emitter) LdSwtch(n int)
- func (c *Emitter) Ldga(s string)
- func (c *Emitter) Ldgb(s string)
- func (c *Emitter) Ldgw(s string)
- func (c *Emitter) Ldinc()
- func (c *Emitter) Ldla(n int)
- func (c *Emitter) Ldlab(id int)
- func (c *Emitter) Ldlb(n int)
- func (c *Emitter) Ldlw(n int)
- func (c *Emitter) Ldsa(n int)
- func (c *Emitter) Ldsb(n int)
- func (c *Emitter) Ldsw(n int)
- func (c *Emitter) Le()
- func (c *Emitter) Lit(v int)
- func (c *Emitter) Load2() bool
- func (c *Emitter) LogNot()
- func (c *Emitter) Lt()
- func (c *Emitter) Mod()
- func (c *Emitter) Mul()
- func (c *Emitter) Ne()
- func (c *Emitter) Neg()
- func (c *Emitter) Not()
- func (c *Emitter) Or()
- func (c *Emitter) Pop2()
- func (c *Emitter) PopPtr()
- func (c *Emitter) Postlude()
- func (c *Emitter) Prelude()
- func (c *Emitter) Public(s string)
- func (c *Emitter) Push()
- func (c *Emitter) PushLit(n int)
- func (c *Emitter) Scale()
- func (c *Emitter) Scale2()
- func (c *Emitter) Scale2By(v int)
- func (c *Emitter) ScaleBy(v int)
- func (c *Emitter) Shl()
- func (c *Emitter) Shr()
- func (c *Emitter) Stack(n int)
- func (c *Emitter) Storgb(s string)
- func (c *Emitter) Storgw(s string)
- func (c *Emitter) Storib()
- func (c *Emitter) Storiw()
- func (c *Emitter) Storlb(n int)
- func (c *Emitter) Storlw(n int)
- func (c *Emitter) Storsb(n int)
- func (c *Emitter) Storsw(n int)
- func (c *Emitter) Sub()
- func (c *Emitter) Swap()
- func (c *Emitter) Synth(op string)
- func (c *Emitter) Text()
- func (c *Emitter) Uge()
- func (c *Emitter) Ugt()
- func (c *Emitter) Ule()
- func (c *Emitter) Ult()
- func (c *Emitter) Unscale()
- func (c *Emitter) UnscaleBy(v int)
- func (c *Emitter) Xor()
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
Click to show internal directories.
Click to hide internal directories.