microfpop.hh (5083:49559a8060e8) | microfpop.hh (6345:f9ae7c3a036c) |
---|---|
1/* 2 * Copyright (c) 2007 The Hewlett-Packard Development Company 3 * All rights reserved. 4 * 5 * Redistribution and use of this software in source and binary forms, 6 * with or without modification, are permitted provided that the 7 * following conditions are met: 8 * --- 66 unchanged lines hidden (view full) --- 75 const uint8_t dataSize; 76 const int8_t spm; 77 78 // Constructor 79 FpOp(ExtMachInst _machInst, 80 const char *mnem, const char *_instMnem, 81 bool isMicro, bool isDelayed, 82 bool isFirst, bool isLast, | 1/* 2 * Copyright (c) 2007 The Hewlett-Packard Development Company 3 * All rights reserved. 4 * 5 * Redistribution and use of this software in source and binary forms, 6 * with or without modification, are permitted provided that the 7 * following conditions are met: 8 * --- 66 unchanged lines hidden (view full) --- 75 const uint8_t dataSize; 76 const int8_t spm; 77 78 // Constructor 79 FpOp(ExtMachInst _machInst, 80 const char *mnem, const char *_instMnem, 81 bool isMicro, bool isDelayed, 82 bool isFirst, bool isLast, |
83 RegIndex _src1, RegIndex _src2, RegIndex _dest, | 83 InstRegIndex _src1, InstRegIndex _src2, InstRegIndex _dest, |
84 uint8_t _dataSize, int8_t _spm, 85 OpClass __opClass) : 86 X86MicroopBase(_machInst, mnem, _instMnem, 87 isMicro, isDelayed, isFirst, isLast, 88 __opClass), | 84 uint8_t _dataSize, int8_t _spm, 85 OpClass __opClass) : 86 X86MicroopBase(_machInst, mnem, _instMnem, 87 isMicro, isDelayed, isFirst, isLast, 88 __opClass), |
89 src1(_src1), src2(_src2), dest(_dest), | 89 src1(_src1.idx), src2(_src2.idx), dest(_dest.idx), |
90 dataSize(_dataSize), spm(_spm) 91 {} 92/* 93 //Figure out what the condition code flags should be. 94 uint64_t genFlags(uint64_t oldFlags, uint64_t flagMask, 95 uint64_t _dest, uint64_t _src1, uint64_t _src2, 96 bool subtract = false) const; 97 bool checkCondition(uint64_t flags) const;*/ 98 99 std::string generateDisassembly(Addr pc, 100 const SymbolTable *symtab) const; 101 }; 102} 103 104#endif //__ARCH_X86_INSTS_MICROFPOP_HH__ | 90 dataSize(_dataSize), spm(_spm) 91 {} 92/* 93 //Figure out what the condition code flags should be. 94 uint64_t genFlags(uint64_t oldFlags, uint64_t flagMask, 95 uint64_t _dest, uint64_t _src1, uint64_t _src2, 96 bool subtract = false) const; 97 bool checkCondition(uint64_t flags) const;*/ 98 99 std::string generateDisassembly(Addr pc, 100 const SymbolTable *symtab) const; 101 }; 102} 103 104#endif //__ARCH_X86_INSTS_MICROFPOP_HH__ |