Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ArchTables = map[int]map[uint16]string{
100: opcodeTableSM100,
120: opcodeTableSM120,
121: opcodeTableSM121,
75: opcodeTableSM75,
80: opcodeTableSM80,
86: opcodeTableSM86,
87: opcodeTableSM87,
89: opcodeTableSM89,
90: opcodeTableSM90,
}
ArchTables maps SM version → opcode table.
Functions ¶
func DecodeMnemonic ¶
DecodeMnemonic extracts the base SASS mnemonic from a 16-byte instruction word. archSM is the SM version number (e.g. 75, 80, 90). Returns "" if the opcode is unknown or the architecture is unsupported.
func DecodeMnemonicFromSlice ¶
DecodeMnemonicFromSlice is a convenience wrapper that accepts a byte slice.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.