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 --- 46 unchanged lines hidden (view full) --- 55 const RegIndex src2; 56 const RegIndex dest; 57 const uint8_t dataSize; 58 const int8_t spm; 59 60 // Constructor 61 FpOp(ExtMachInst _machInst, 62 const char *mnem, const char *_instMnem, |
63 uint64_t setFlags, |
64 InstRegIndex _src1, InstRegIndex _src2, InstRegIndex _dest, 65 uint8_t _dataSize, int8_t _spm, 66 OpClass __opClass) : |
67 X86MicroopBase(_machInst, mnem, _instMnem, setFlags, |
68 __opClass), 69 src1(_src1.idx), src2(_src2.idx), dest(_dest.idx), 70 dataSize(_dataSize), spm(_spm) 71 {} 72/* 73 //Figure out what the condition code flags should be. 74 uint64_t genFlags(uint64_t oldFlags, uint64_t flagMask, 75 uint64_t _dest, uint64_t _src1, uint64_t _src2, 76 bool subtract = false) const; 77 bool checkCondition(uint64_t flags) const;*/ 78 79 std::string generateDisassembly(Addr pc, 80 const SymbolTable *symtab) const; 81 }; 82} 83 84#endif //__ARCH_X86_INSTS_MICROFPOP_HH__ |