Go to the documentation of this file.
29 #ifndef __ARCH_SPARC_INSTS_INTEGER_HH__
30 #define __ARCH_SPARC_INSTS_INTEGER_HH__
48 using SparcStaticInst::SparcStaticInst;
65 OpClass __opClass, int64_t _imm) :
66 IntOp(mnem, _machInst, __opClass),
imm(_imm)
120 IntOpImm(mnem, _machInst, __opClass,
bits(_machInst, 21, 0) << 10)
129 #endif // __ARCH_SPARCH_INSTS_INTEGER_HH__
std::string generateDisassembly(Addr pc, const Loader::SymbolTable *symtab) const override
Internal function to generate disassembly string.
uint64_t sext(uint64_t val)
Sign-extend an N-bit value to 64 bits.
bool printPseudoOps(std::ostream &os, Addr pc, const Loader::SymbolTable *symtab) const override
Base class for 13 bit immediate integer operations.
std::string generateDisassembly(Addr pc, const Loader::SymbolTable *symtab) const override
Internal function to generate disassembly string.
Base class for 10 bit immediate integer operations.
IntOpImm10(const char *mnem, ExtMachInst _machInst, OpClass __opClass)
IntOpImm(const char *mnem, ExtMachInst _machInst, OpClass __opClass, int64_t _imm)
IntOpImm11(const char *mnem, ExtMachInst _machInst, OpClass __opClass)
Base class for immediate integer operations.
std::string generateDisassembly(Addr pc, const Loader::SymbolTable *symtab) const override
Internal function to generate disassembly string.
TheISA::ExtMachInst ExtMachInst
Binary extended machine instruction type.
uint64_t Addr
Address type This will probably be moved somewhere else in the near future.
Base class for all SPARC static instructions.
Base class for 11 bit immediate integer operations.
virtual bool printPseudoOps(std::ostream &os, Addr pc, const Loader::SymbolTable *symtab) const
IntOpImm13(const char *mnem, ExtMachInst _machInst, OpClass __opClass)
SetHi(const char *mnem, ExtMachInst _machInst, OpClass __opClass)
Base class for integer operations.
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:07 for gem5 by doxygen 1.8.17