Go to the documentation of this file.
38 #ifndef __ARCH_X86_INSTS_MICROOP_HH__
39 #define __ARCH_X86_INSTS_MICROOP_HH__
45 namespace ConditionTests
96 const char *mnem,
const char *_instMnem,
97 uint64_t setFlags, OpClass __opClass) :
101 const int ChunkSize =
sizeof(
unsigned long);
102 const int Chunks =
sizeof(setFlags) / ChunkSize;
106 for (
int i = 0;
i < Chunks;
i++) {
107 unsigned shift =
i * ChunkSize * 8;
116 std::stringstream
ss;
128 if (
flags[IsLastMicroop])
136 #endif //__ARCH_X86_INSTS_MICROOP_HH__
std::bitset< Num_Flags > flags
Flag values for this instruction.
void advancePC(PCState &pcState) const override
std::string generateDisassembly(Addr pc, const Loader::SymbolTable *symtab) const override
Internal function to generate disassembly string.
const char * mnemonic
Base mnemonic (e.g., "add").
TheISA::ExtMachInst ExtMachInst
Binary extended machine instruction type.
This is exposed globally, independent of the ISA.
uint64_t Addr
Address type This will probably be moved somewhere else in the near future.
Base class for all X86 static instructions.
X86MicroopBase(ExtMachInst _machInst, const char *mnem, const char *_instMnem, uint64_t setFlags, OpClass __opClass)
bool checkCondition(uint64_t flags, int condition) const
void ccprintf(cp::Print &print)
Generated on Wed Sep 30 2020 14:02:07 for gem5 by doxygen 1.8.17