Documentation ¶
Index ¶
- func DCmp_(frame *rtda.Frame, gFlag bool)
- func FCmp_(frame *rtda.Frame, gFlag bool)
- func SignDouble(val float64, gFlag bool) int32
- func SignFloat(val float32, gFlag bool) int32
- func SignInt(val int32) int32
- func SignLong(val int64) int32
- type DCmpG
- type DCmpL
- type FCmpG
- type FCmpL
- type IfACmpEQ
- type IfACmpNE
- type IfEQ
- type IfGE
- type IfGT
- type IfICmpEQ
- type IfICmpGE
- type IfICmpGT
- type IfICmpLE
- type IfICmpLT
- type IfICmpNE
- type IfLE
- type IfLT
- type IfNE
- type LCmp
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func SignDouble ¶
Types ¶
type DCmpG ¶
type DCmpG struct {
base.NoOperandsInstruction
}
..., value2, value1 -> ..., (value2-value1的符号),当 其中有不能比较的数值时,根据指令后缀的 G/L 决定比较结果是 1/-1
type DCmpL ¶
type DCmpL struct {
base.NoOperandsInstruction
}
type FCmpG ¶
type FCmpG struct {
base.NoOperandsInstruction
}
..., value2, value1 -> ..., (value2-value1的符号),当 其中有不能比较的数值时,根据指令后缀的 G/L 决定比较结果是 1/-1
type FCmpL ¶
type FCmpL struct {
base.NoOperandsInstruction
}
type IfACmpEQ ¶
type IfACmpEQ struct {
base.BranchInstruction
}
..., value2, value1 -> ... // 引用比较,如果和指令期待结果相同,则进行跳转
type IfACmpNE ¶
type IfACmpNE struct {
base.BranchInstruction
}
type IfEQ ¶
type IfEQ struct {
base.BranchInstruction
}
..., value -> // 如果 value 与 0 的关系和指令相匹配,则进行分支跳转 ...
type IfGE ¶
type IfGE struct {
base.BranchInstruction
}
type IfGT ¶
type IfGT struct {
base.BranchInstruction
}
type IfICmpEQ ¶
type IfICmpEQ struct {
base.BranchInstruction
}
..., value1, value2 -> ... // 弹出两个操作数,如果和指令期待的比较结果相同则进行跳转
type IfICmpGE ¶
type IfICmpGE struct {
base.BranchInstruction
}
type IfICmpGT ¶
type IfICmpGT struct {
base.BranchInstruction
}
type IfICmpLE ¶
type IfICmpLE struct {
base.BranchInstruction
}
type IfICmpLT ¶
type IfICmpLT struct {
base.BranchInstruction
}
type IfICmpNE ¶
type IfICmpNE struct {
base.BranchInstruction
}
type IfLE ¶
type IfLE struct {
base.BranchInstruction
}
type IfLT ¶
type IfLT struct {
base.BranchInstruction
}
type IfNE ¶
type IfNE struct {
base.BranchInstruction
}
Source Files ¶
Click to show internal directories.
Click to hide internal directories.