darwinamd64

package
v0.0.0-...-94861f8 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: May 3, 2017 License: BSD-3-Clause, Unlicense Imports: 4 Imported by: 0

Documentation

Overview

Package darwinamd64 contains code to generate a x86_64 architecture that is running on darwin. The difference between this package and amd64 is that darwin loads things relative to the rip register.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewEmitter

func NewEmitter(w io.Writer) *arch.Emitter

Types

type Emitter

type Emitter struct {
	*arch.Emitter
}

func (*Emitter) Add

func (c *Emitter) Add()

func (*Emitter) Align

func (c *Emitter) Align()

func (*Emitter) And

func (c *Emitter) And()

func (*Emitter) Bool

func (c *Emitter) Bool()

func (*Emitter) Br

func (c *Emitter) Br(how string, n int)

func (*Emitter) BrCond

func (c *Emitter) BrCond(i string, n int)

func (*Emitter) BrEq

func (c *Emitter) BrEq(n int)

func (*Emitter) BrFalse

func (c *Emitter) BrFalse(n int)

func (*Emitter) BrGe

func (c *Emitter) BrGe(n int)

func (*Emitter) BrGt

func (c *Emitter) BrGt(n int)

func (*Emitter) BrLe

func (c *Emitter) BrLe(n int)

func (*Emitter) BrLt

func (c *Emitter) BrLt(n int)

func (*Emitter) BrNe

func (c *Emitter) BrNe(n int)

func (*Emitter) BrTrue

func (c *Emitter) BrTrue(n int)

func (*Emitter) BrUge

func (c *Emitter) BrUge(n int)

func (*Emitter) BrUgt

func (c *Emitter) BrUgt(n int)

func (*Emitter) BrUle

func (c *Emitter) BrUle(n int)

func (*Emitter) BrUlt

func (c *Emitter) BrUlt(n int)

func (*Emitter) CalSwtch

func (c *Emitter) CalSwtch()

func (*Emitter) Call

func (c *Emitter) Call(s string)

func (*Emitter) Calr

func (c *Emitter) Calr()

func (*Emitter) Case

func (c *Emitter) Case(v, l int)

func (*Emitter) Clear

func (c *Emitter) Clear()

func (*Emitter) Clear2

func (c *Emitter) Clear2()

func (*Emitter) Cmp

func (c *Emitter) Cmp(inst string)

func (*Emitter) Data

func (c *Emitter) Data()

func (*Emitter) Dec1ib

func (c *Emitter) Dec1ib()

func (*Emitter) Dec1iw

func (c *Emitter) Dec1iw()

func (*Emitter) Dec1pi

func (c *Emitter) Dec1pi(v int)

func (*Emitter) Dec2ib

func (c *Emitter) Dec2ib()

func (*Emitter) Dec2iw

func (c *Emitter) Dec2iw()

func (*Emitter) Dec2pi

func (c *Emitter) Dec2pi(v int)

func (*Emitter) Decgb

func (c *Emitter) Decgb(s string)

func (*Emitter) Decgw

func (c *Emitter) Decgw(s string)

func (*Emitter) Declb

func (c *Emitter) Declb(a int)

func (*Emitter) Declw

func (c *Emitter) Declw(a int)

func (*Emitter) Decpg

func (c *Emitter) Decpg(s string, v int)

func (*Emitter) Decpl

func (c *Emitter) Decpl(a int, v int)

func (*Emitter) Decps

func (c *Emitter) Decps(a int, v int)

func (*Emitter) Decsb

func (c *Emitter) Decsb(a int)

func (*Emitter) Decsw

func (c *Emitter) Decsw(a int)

func (*Emitter) Defb

func (c *Emitter) Defb(v int)

func (*Emitter) Defc

func (c *Emitter) Defc(ch int)

func (*Emitter) Defl

func (c *Emitter) Defl(v int)

func (*Emitter) Defp

func (c *Emitter) Defp(v int)

func (*Emitter) Defw

func (c *Emitter) Defw(v int)

func (*Emitter) Div

func (c *Emitter) Div()

func (*Emitter) Entry

func (c *Emitter) Entry()

func (*Emitter) Eq

func (c *Emitter) Eq()

func (*Emitter) Exit

func (c *Emitter) Exit()

func (*Emitter) Gbss

func (c *Emitter) Gbss(s string, z int)

func (*Emitter) Ge

func (c *Emitter) Ge()

func (*Emitter) Gt

func (c *Emitter) Gt()

func (*Emitter) Inc1ib

func (c *Emitter) Inc1ib()

func (*Emitter) Inc1iw

func (c *Emitter) Inc1iw()

func (*Emitter) Inc1pi

func (c *Emitter) Inc1pi(v int)

func (*Emitter) Inc2ib

func (c *Emitter) Inc2ib()

func (*Emitter) Inc2iw

func (c *Emitter) Inc2iw()

func (*Emitter) Inc2pi

func (c *Emitter) Inc2pi(v int)

func (*Emitter) Incgb

func (c *Emitter) Incgb(s string)

func (*Emitter) Incgw

func (c *Emitter) Incgw(s string)

func (*Emitter) Inclb

func (c *Emitter) Inclb(a int)

func (*Emitter) Inclw

func (c *Emitter) Inclw(a int)

func (*Emitter) Incpg

func (c *Emitter) Incpg(s string, v int)

func (*Emitter) Incpl

func (c *Emitter) Incpl(a int, v int)

func (*Emitter) Incps

func (c *Emitter) Incps(a int, v int)

func (*Emitter) Incsb

func (c *Emitter) Incsb(a int)

func (*Emitter) Incsw

func (c *Emitter) Incsw(a int)

func (*Emitter) Indb

func (c *Emitter) Indb()

func (*Emitter) Indw

func (c *Emitter) Indw()

func (*Emitter) Initlw

func (c *Emitter) Initlw(v int, a int)

func (*Emitter) Jump

func (c *Emitter) Jump(n int)

func (*Emitter) Lbss

func (c *Emitter) Lbss(s string, z int)

func (*Emitter) LdSwtch

func (c *Emitter) LdSwtch(n int)

func (*Emitter) Ldga

func (c *Emitter) Ldga(s string)

func (*Emitter) Ldgb

func (c *Emitter) Ldgb(s string)

func (*Emitter) Ldgw

func (c *Emitter) Ldgw(s string)

func (*Emitter) Ldinc

func (c *Emitter) Ldinc()

func (*Emitter) Ldla

func (c *Emitter) Ldla(n int)

func (*Emitter) Ldlab

func (c *Emitter) Ldlab(id int)

func (*Emitter) Ldlb

func (c *Emitter) Ldlb(n int)

func (*Emitter) Ldlw

func (c *Emitter) Ldlw(n int)

func (*Emitter) Ldsa

func (c *Emitter) Ldsa(n int)

func (*Emitter) Ldsb

func (c *Emitter) Ldsb(n int)

func (*Emitter) Ldsw

func (c *Emitter) Ldsw(n int)

func (*Emitter) Le

func (c *Emitter) Le()

func (*Emitter) Lit

func (c *Emitter) Lit(v int)

func (*Emitter) Load2

func (c *Emitter) Load2() bool

func (*Emitter) LogNot

func (c *Emitter) LogNot()

func (*Emitter) Lt

func (c *Emitter) Lt()

func (*Emitter) Mod

func (c *Emitter) Mod()

func (*Emitter) Mul

func (c *Emitter) Mul()

func (*Emitter) Ne

func (c *Emitter) Ne()

func (*Emitter) Neg

func (c *Emitter) Neg()

func (*Emitter) Not

func (c *Emitter) Not()

func (*Emitter) Or

func (c *Emitter) Or()

func (*Emitter) Pop2

func (c *Emitter) Pop2()

func (*Emitter) PopPtr

func (c *Emitter) PopPtr()

func (*Emitter) Postlude

func (c *Emitter) Postlude()

func (*Emitter) Prelude

func (c *Emitter) Prelude()

func (*Emitter) Public

func (c *Emitter) Public(s string)

func (*Emitter) Push

func (c *Emitter) Push()

func (*Emitter) PushLit

func (c *Emitter) PushLit(n int)

func (*Emitter) Scale

func (c *Emitter) Scale()

func (*Emitter) Scale2

func (c *Emitter) Scale2()

func (*Emitter) Scale2By

func (c *Emitter) Scale2By(v int)

func (*Emitter) ScaleBy

func (c *Emitter) ScaleBy(v int)

func (*Emitter) Shl

func (c *Emitter) Shl()

func (*Emitter) Shr

func (c *Emitter) Shr()

func (*Emitter) Stack

func (c *Emitter) Stack(n int)

func (*Emitter) Storgb

func (c *Emitter) Storgb(s string)

func (*Emitter) Storgw

func (c *Emitter) Storgw(s string)

func (*Emitter) Storib

func (c *Emitter) Storib()

func (*Emitter) Storiw

func (c *Emitter) Storiw()

func (*Emitter) Storlb

func (c *Emitter) Storlb(n int)

func (*Emitter) Storlw

func (c *Emitter) Storlw(n int)

func (*Emitter) Storsb

func (c *Emitter) Storsb(n int)

func (*Emitter) Storsw

func (c *Emitter) Storsw(n int)

func (*Emitter) Sub

func (c *Emitter) Sub()

func (*Emitter) Swap

func (c *Emitter) Swap()

func (*Emitter) Synth

func (c *Emitter) Synth(op string)

func (*Emitter) Text

func (c *Emitter) Text()

func (*Emitter) Uge

func (c *Emitter) Uge()

func (*Emitter) Ugt

func (c *Emitter) Ugt()

func (*Emitter) Ule

func (c *Emitter) Ule()

func (*Emitter) Ult

func (c *Emitter) Ult()

func (*Emitter) Unscale

func (c *Emitter) Unscale()

func (*Emitter) UnscaleBy

func (c *Emitter) UnscaleBy(v int)

func (*Emitter) Xor

func (c *Emitter) Xor()

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL