microfpop.hh (7087:fb8d5786ff30) microfpop.hh (7620:3d8a23caa1ef)
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,
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 bool isMicro, bool isDelayed,
64 bool isFirst, bool isLast,
63 uint64_t setFlags,
65 InstRegIndex _src1, InstRegIndex _src2, InstRegIndex _dest,
66 uint8_t _dataSize, int8_t _spm,
67 OpClass __opClass) :
64 InstRegIndex _src1, InstRegIndex _src2, InstRegIndex _dest,
65 uint8_t _dataSize, int8_t _spm,
66 OpClass __opClass) :
68 X86MicroopBase(_machInst, mnem, _instMnem,
69 isMicro, isDelayed, isFirst, isLast,
67 X86MicroopBase(_machInst, mnem, _instMnem, setFlags,
70 __opClass),
71 src1(_src1.idx), src2(_src2.idx), dest(_dest.idx),
72 dataSize(_dataSize), spm(_spm)
73 {}
74/*
75 //Figure out what the condition code flags should be.
76 uint64_t genFlags(uint64_t oldFlags, uint64_t flagMask,
77 uint64_t _dest, uint64_t _src1, uint64_t _src2,
78 bool subtract = false) const;
79 bool checkCondition(uint64_t flags) const;*/
80
81 std::string generateDisassembly(Addr pc,
82 const SymbolTable *symtab) const;
83 };
84}
85
86#endif //__ARCH_X86_INSTS_MICROFPOP_HH__
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__