opers

package
v0.3.2 Latest Latest
Warning

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

Go to latest
Published: Aug 23, 2018 License: BSD-3-Clause Imports: 1 Imported by: 0

Documentation

Index

Constants

View Source
const (
	UnaryFloat = 1 << 8
	UnaryRound = 1 << 9
)
View Source
const (
	IndexIntEqz = iota
	IndexIntClz
	IndexIntCtz
	IndexIntPopcnt
)
View Source
const (
	IndexFloatAbs = iota
	IndexFloatNeg
	IndexFloatSqrt
)
View Source
const (
	// x86-64 ROUNDSS/ROUNDSD instruction operands
	RoundModeNearest = 0x0
	RoundModeFloor   = 0x1
	RoundModeCeil    = 0x2
	RoundModeTrunc   = 0x3
)
View Source
const (
	IntEqz       = IndexIntEqz
	IntClz       = IndexIntClz
	IntCtz       = IndexIntCtz
	IntPopcnt    = IndexIntPopcnt
	FloatAbs     = UnaryFloat | IndexFloatAbs
	FloatNeg     = UnaryFloat | IndexFloatNeg
	FloatCeil    = UnaryFloat | UnaryRound | RoundModeCeil
	FloatFloor   = UnaryFloat | UnaryRound | RoundModeFloor
	FloatTrunc   = UnaryFloat | UnaryRound | RoundModeTrunc
	FloatNearest = UnaryFloat | UnaryRound | RoundModeNearest
	FloatSqrt    = UnaryFloat | IndexFloatSqrt
)
View Source
const (
	BinaryFloat         = 1 << 10
	BinaryCompare       = 1 << 11 // int or float
	BinaryIntShift      = 1 << 12
	BinaryIntDivmul     = 1 << 13
	BinaryFloatMinmax   = 1 << 12
	BinaryFloatCopysign = 1 << 13
)
View Source
const (
	DivmulSign = 1 << 0
	DivmulRem  = 1 << 1
	DivmulMul  = 1 << 2
)
View Source
const (
	IndexIntAdd = iota
	IndexIntSub
	IndexIntAnd
	IndexIntOr
	IndexIntXor
)
View Source
const (
	IndexShiftShl = iota
	IndexShiftShrU
	IndexShiftShrS
	IndexShiftRotr
	IndexShiftRotl
)
View Source
const (
	IndexDivmulDivU = 0
	IndexDivmulDivS = DivmulSign
	IndexDivmulRemU = DivmulRem
	IndexDivmulRemS = DivmulRem | DivmulSign
	IndexDivmulMul  = DivmulMul
)
View Source
const (
	IndexFloatAdd = iota
	IndexFloatSub
	IndexFloatMul
	IndexFloatDiv
)
View Source
const (
	IndexMinmaxMin = iota
	IndexMinmaxMax
)
View Source
const (
	IntEq         = BinaryCompare | values.Eq
	IntNe         = BinaryCompare | values.Ne
	IntLtS        = BinaryCompare | values.LtS
	IntLtU        = BinaryCompare | values.LtU
	IntGtS        = BinaryCompare | values.GtS
	IntGtU        = BinaryCompare | values.GtU
	IntLeS        = BinaryCompare | values.LeS
	IntLeU        = BinaryCompare | values.LeU
	IntGeS        = BinaryCompare | values.GeS
	IntGeU        = BinaryCompare | values.GeU
	FloatEq       = BinaryFloat | BinaryCompare | values.OrderedAndEq
	FloatNe       = BinaryFloat | BinaryCompare | values.UnorderedOrNe
	FloatLt       = BinaryFloat | BinaryCompare | values.OrderedAndLt
	FloatGt       = BinaryFloat | BinaryCompare | values.OrderedAndGt
	FloatLe       = BinaryFloat | BinaryCompare | values.OrderedAndLe
	FloatGe       = BinaryFloat | BinaryCompare | values.OrderedAndGe
	IntAdd        = IndexIntAdd
	IntSub        = IndexIntSub
	IntMul        = BinaryIntDivmul | IndexDivmulMul
	IntDivS       = BinaryIntDivmul | IndexDivmulDivS
	IntDivU       = BinaryIntDivmul | IndexDivmulDivU
	IntRemS       = BinaryIntDivmul | IndexDivmulRemS
	IntRemU       = BinaryIntDivmul | IndexDivmulRemU
	IntAnd        = IndexIntAnd
	IntOr         = IndexIntOr
	IntXor        = IndexIntXor
	IntShl        = BinaryIntShift | IndexShiftShl
	IntShrS       = BinaryIntShift | IndexShiftShrS
	IntShrU       = BinaryIntShift | IndexShiftShrU
	IntRotl       = BinaryIntShift | IndexShiftRotl
	IntRotr       = BinaryIntShift | IndexShiftRotr
	FloatAdd      = BinaryFloat | IndexFloatAdd
	FloatSub      = BinaryFloat | IndexFloatSub
	FloatMul      = BinaryFloat | IndexFloatMul
	FloatDiv      = BinaryFloat | IndexFloatDiv
	FloatMin      = BinaryFloat | BinaryFloatMinmax | IndexMinmaxMin
	FloatMax      = BinaryFloat | BinaryFloatMinmax | IndexMinmaxMax
	FloatCopysign = BinaryFloat | BinaryFloatCopysign
)
View Source
const (
	IndexIntLoad = iota
	IndexIntLoad8S
	IndexIntLoad8U
	IndexIntLoad16S
	IndexIntLoad16U
	IndexIntLoad32S
	IndexIntLoad32U
	IndexFloatLoad
)
View Source
const (
	I32Load    = (4 << 8) | IndexIntLoad    // fixed type
	I64Load    = (8 << 8) | IndexIntLoad    // fixed type
	IntLoad8S  = (1 << 8) | IndexIntLoad8S  // type-parametric
	IntLoad8U  = (1 << 8) | IndexIntLoad8U  // type-parametric
	IntLoad16S = (2 << 8) | IndexIntLoad16S // type-parametric
	IntLoad16U = (2 << 8) | IndexIntLoad16U // type-parametric
	IntLoad32S = (4 << 8) | IndexIntLoad32S // type-parametric
	IntLoad32U = (4 << 8) | IndexIntLoad32U // type-parametric
	F32Load    = (4 << 8) | IndexFloatLoad  // fixed type
	F64Load    = (8 << 8) | IndexFloatLoad  // fixed type
)
View Source
const (
	IndexIntStore = iota
	IndexIntStore8
	IndexIntStore16
	IndexIntStore32
	IndexFloatStore
)
View Source
const (
	I32Store   = (4 << 8) | IndexIntStore   // fixed type
	I64Store   = (8 << 8) | IndexIntStore   // fixed type
	IntStore8  = (1 << 8) | IndexIntStore8  // type-parametric
	IntStore16 = (2 << 8) | IndexIntStore16 // type-parametric
	IntStore32 = (4 << 8) | IndexIntStore32 // type-parametric
	F32Store   = (4 << 8) | IndexFloatStore // fixed type
	F64Store   = (8 << 8) | IndexFloatStore // fixed type
)
View Source
const (
	Wrap = iota
	ExtendS
	ExtendU
	Mote
	TruncS
	TruncU
	ConvertS
	ConvertU
	Reinterpret
)
View Source
const (
	Demote  = Mote
	Promote = Mote
)

Variables

This section is empty.

Functions

This section is empty.

Types

This section is empty.

Jump to

Keyboard shortcuts

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