33 #ifndef __ARCH_SPARC_INSTS_MEM_HH__ 34 #define __ARCH_SPARC_INSTS_MEM_HH__ 52 using SparcStaticInst::SparcStaticInst;
67 Mem(mnem, _machInst, __opClass),
imm(
sext<13>(
bits(_machInst, 12, 0)))
78 #endif // __ARCH_SPARC_INSTS_MEM_HH__ std::string generateDisassembly(Addr pc, const SymbolTable *symtab) const override
Internal function to generate disassembly string.
MemImm(const char *mnem, ExtMachInst _machInst, OpClass __opClass)
Base class for all SPARC static instructions.
uint64_t Addr
Address type This will probably be moved somewhere else in the near future.
Class for memory operations which use an immediate offset.
Base class for memory operations.
TheISA::ExtMachInst ExtMachInst
Binary extended machine instruction type.
T bits(T val, int first, int last)
Extract the bitfield from position 'first' to 'last' (inclusive) from 'val' and right justify it...
uint64_t sext(uint64_t val)
Sign-extend an N-bit value to 64 bits.