33 #ifndef __ARCH_SPARC_INSTS_INTEGER_HH__ 34 #define __ARCH_SPARC_INSTS_INTEGER_HH__ 52 using SparcStaticInst::SparcStaticInst;
69 OpClass __opClass, int64_t _imm) :
70 IntOp(mnem, _machInst, __opClass),
imm(_imm)
124 IntOpImm(mnem, _machInst, __opClass,
bits(_machInst, 21, 0) << 10)
133 #endif // __ARCH_SPARCH_INSTS_INTEGER_HH__ IntOpImm10(const char *mnem, ExtMachInst _machInst, OpClass __opClass)
Base class for immediate integer operations.
IntOpImm11(const char *mnem, ExtMachInst _machInst, OpClass __opClass)
std::string generateDisassembly(Addr pc, const SymbolTable *symtab) const override
Internal function to generate disassembly string.
virtual bool printPseudoOps(std::ostream &os, Addr pc, const SymbolTable *symtab) const
IntOpImm13(const char *mnem, ExtMachInst _machInst, OpClass __opClass)
Base class for 13 bit immediate integer operations.
Base class for 10 bit immediate integer operations.
Base class for all SPARC static instructions.
uint64_t Addr
Address type This will probably be moved somewhere else in the near future.
Base class for integer operations.
TheISA::ExtMachInst ExtMachInst
Binary extended machine instruction type.
IntOpImm(const char *mnem, ExtMachInst _machInst, OpClass __opClass, int64_t _imm)
SetHi(const char *mnem, ExtMachInst _machInst, OpClass __opClass)
T bits(T val, int first, int last)
Extract the bitfield from position 'first' to 'last' (inclusive) from 'val' and right justify it...
Base class for 11 bit immediate integer operations.
uint64_t sext(uint64_t val)
Sign-extend an N-bit value to 64 bits.