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)
Base class for 10 bit immediate integer operations.
IntOpImm10(const char *mnem, ExtMachInst _machInst, OpClass __opClass)
Base class for 11 bit immediate integer operations.
IntOpImm11(const char *mnem, ExtMachInst _machInst, OpClass __opClass)
Base class for 13 bit immediate integer operations.
IntOpImm13(const char *mnem, ExtMachInst _machInst, OpClass __opClass)
Base class for immediate integer operations.
IntOpImm(const char *mnem, ExtMachInst _machInst, OpClass __opClass, int64_t _imm)
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.
Base class for integer operations.
virtual bool printPseudoOps(std::ostream &os, Addr pc, const loader::SymbolTable *symtab) const
std::string generateDisassembly(Addr pc, const loader::SymbolTable *symtab) const override
Internal function to generate disassembly string.
std::string generateDisassembly(Addr pc, const loader::SymbolTable *symtab) const override
Internal function to generate disassembly string.
SetHi(const char *mnem, ExtMachInst _machInst, OpClass __opClass)
Base class for all SPARC static instructions.
SparcStaticInst(const char *_mnemonic, 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.
constexpr uint64_t szext(uint64_t val)
Sign-extend an N-bit value to 64 bits.
Copyright (c) 2024 - Pranith Kumar Copyright (c) 2020 Inria All rights reserved.
uint64_t Addr
Address type This will probably be moved somewhere else in the near future.