microfpop.hh (12104:edd63f9c6184) microfpop.hh (12106:7784fac1b159)
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

--- 52 unchanged lines hidden (view full) ---

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),
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

--- 52 unchanged lines hidden (view full) ---

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.regIdx), src2(_src2.regIdx), dest(_dest.regIdx),
69 src1(_src1.index()), src2(_src2.index()), dest(_dest.index()),
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__
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__