Go to the documentation of this file.
29 #ifndef __ARCH_POWER_INSTS_INTEGER_HH__
30 #define __ARCH_POWER_INSTS_INTEGER_HH__
73 if (
a <
b) {
c += 0x8; }
74 else if (
a >
b) {
c += 0x4; }
86 if (
a <
b) {
c += 0x8; }
87 else if (
a >
b) {
c += 0x4; }
109 :
IntOp(mnem, _machInst, __opClass),
131 :
IntOp(mnem, _machInst, __opClass),
169 return (
rs <<
n) | (
rs >> (32 -
n));
178 #endif //__ARCH_POWER_INSTS_INTEGER_HH__
uint64_t sext(uint64_t val)
Sign-extend an N-bit value to 64 bits.
Class for integer rotate operations.
IntImmOp(const char *mnem, MachInst _machInst, OpClass __opClass)
Constructor.
std::string generateDisassembly(Addr pc, const Loader::SymbolTable *symtab) const override
Internal function to generate disassembly string.
IntOp(const char *mnem, MachInst _machInst, OpClass __opClass)
Constructor.
Class for integer immediate (signed and unsigned) operations.
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.
uint64_t Addr
Address type This will probably be moved somewhere else in the near future.
uint32_t rotateValue(uint32_t rs, uint32_t shift) const
const ExtMachInst machInst
The binary machine instruction.
Class for integer operations with a shift.
std::string generateDisassembly(Addr pc, const Loader::SymbolTable *symtab) const override
Internal function to generate disassembly string.
IntShiftOp(const char *mnem, MachInst _machInst, OpClass __opClass)
Constructor.
uint32_t makeCRField(uint32_t a, uint32_t b, uint32_t xerSO) const
uint32_t makeCRField(int32_t a, int32_t b, uint32_t xerSO) const
We provide a base class for integer operations and then inherit for several other classes.
IntRotateOp(const char *mnem, MachInst _machInst, OpClass __opClass)
Constructor.
Generated on Wed Sep 30 2020 14:02:07 for gem5 by doxygen 1.8.17