Go to the documentation of this file.
29 #ifndef __ARCH_SPARC_INSTS_MEM_HH__
30 #define __ARCH_SPARC_INSTS_MEM_HH__
48 using SparcStaticInst::SparcStaticInst;
63 Mem(mnem, _machInst, __opClass),
imm(
sext<13>(
bits(_machInst, 12, 0)))
74 #endif // __ARCH_SPARC_INSTS_MEM_HH__
uint64_t sext(uint64_t val)
Sign-extend an N-bit value to 64 bits.
Class for memory operations which use an immediate offset.
TheISA::ExtMachInst ExtMachInst
Binary extended machine instruction type.
MemImm(const char *mnem, ExtMachInst _machInst, OpClass __opClass)
std::string generateDisassembly(Addr pc, const Loader::SymbolTable *symtab) const override
Internal function to generate disassembly string.
uint64_t Addr
Address type This will probably be moved somewhere else in the near future.
Base class for memory operations.
Base class for all SPARC static instructions.
std::string generateDisassembly(Addr pc, const Loader::SymbolTable *symtab) const override
Internal function to generate disassembly string.
T bits(T val, int first, int last)
Extract the bitfield from position 'first' to 'last' (inclusive) from 'val' and right justify it.
Generated on Wed Sep 30 2020 14:02:00 for gem5 by doxygen 1.8.17