Go to the documentation of this file.
29 #ifndef __ARCH_SPARC_INSTS_INTEGER_HH__
30 #define __ARCH_SPARC_INSTS_INTEGER_HH__
68 OpClass __opClass, int64_t _imm) :
69 IntOp(mnem, _machInst, __opClass),
imm(_imm)
123 IntOpImm(mnem, _machInst, __opClass,
bits(_machInst, 21, 0) << 10)
133 #endif // __ARCH_SPARCH_INSTS_INTEGER_HH__
IntOpImm11(const char *mnem, ExtMachInst _machInst, OpClass __opClass)
Base class for all SPARC static instructions.
std::string generateDisassembly(Addr pc, const loader::SymbolTable *symtab) const override
Internal function to generate disassembly string.
bool printPseudoOps(std::ostream &os, Addr pc, const loader::SymbolTable *symtab) const override
std::string generateDisassembly(Addr pc, const loader::SymbolTable *symtab) const override
Internal function to generate disassembly string.
IntOpImm10(const char *mnem, ExtMachInst _machInst, OpClass __opClass)
IntOpImm(const char *mnem, ExtMachInst _machInst, OpClass __opClass, int64_t _imm)
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 integer operations.
Base class for 10 bit immediate integer operations.
Base class for immediate integer operations.
Base class for 11 bit immediate integer operations.
SetHi(const char *mnem, ExtMachInst _machInst, OpClass __opClass)
constexpr T bits(T val, unsigned first, unsigned last)
Extract the bitfield from position 'first' to 'last' (inclusive) from 'val' and right justify it.
uint64_t Addr
Address type This will probably be moved somewhere else in the near future.
constexpr uint64_t szext(uint64_t val)
Sign-extend an N-bit value to 64 bits.
SparcStaticInst(const char *_mnemonic, ExtMachInst _machInst, OpClass __opClass)
virtual bool printPseudoOps(std::ostream &os, Addr pc, const loader::SymbolTable *symtab) const
IntOpImm13(const char *mnem, ExtMachInst _machInst, OpClass __opClass)
Reference material can be found at the JEDEC website: UFS standard http://www.jedec....
Generated on Sun Jul 30 2023 01:56:50 for gem5 by doxygen 1.8.17