1/* 2 * Copyright (c) 2007 The Hewlett-Packard Development Company 3 * All rights reserved. 4 * 5 * The license below extends only to copyright in the software and shall 6 * not be construed as granting a license to any other intellectual 7 * property including but not limited to intellectual property relating 8 * to a hardware implementation of the functionality of the software --- 82 unchanged lines hidden (view full) --- 91 { 92 protected: 93 const char * instMnem; 94 uint8_t opSize; 95 uint8_t addrSize; 96 97 X86MicroopBase(ExtMachInst _machInst, 98 const char *mnem, const char *_instMnem, |
99 uint64_t setFlags, OpClass __opClass) : |
100 X86ISA::X86StaticInst(mnem, _machInst, __opClass), 101 instMnem(_instMnem) 102 { |
103 flags |= setFlags; |
104 } 105 106 std::string generateDisassembly(Addr pc, 107 const SymbolTable *symtab) const 108 { 109 std::stringstream ss; 110 111 ccprintf(ss, "\t%s.%s", instMnem, mnemonic); 112 113 return ss.str(); 114 } 115 116 bool checkCondition(uint64_t flags, int condition) const; 117 }; 118} 119 120#endif //__ARCH_X86_INSTS_MICROOP_HH__ |