condition.hh (7811:a8fc35183c10) | condition.hh (12616:4b463b4dc098) |
---|---|
1/* 2 * Copyright (c) 2009 The University of Edinburgh 3 * All rights reserved. 4 * 5 * Redistribution and use in source and binary forms, with or without 6 * modification, are permitted provided that the following conditions are 7 * met: redistributions of source code must retain the above copyright 8 * notice, this list of conditions and the following disclaimer; --- 43 unchanged lines hidden (view full) --- 52 CondLogicOp(const char *mnem, MachInst _machInst, OpClass __opClass) 53 : PowerStaticInst(mnem, _machInst, __opClass), 54 ba(machInst.ba), 55 bb(machInst.bb), 56 bt(machInst.bt) 57 { 58 } 59 | 1/* 2 * Copyright (c) 2009 The University of Edinburgh 3 * All rights reserved. 4 * 5 * Redistribution and use in source and binary forms, with or without 6 * modification, are permitted provided that the following conditions are 7 * met: redistributions of source code must retain the above copyright 8 * notice, this list of conditions and the following disclaimer; --- 43 unchanged lines hidden (view full) --- 52 CondLogicOp(const char *mnem, MachInst _machInst, OpClass __opClass) 53 : PowerStaticInst(mnem, _machInst, __opClass), 54 ba(machInst.ba), 55 bb(machInst.bb), 56 bt(machInst.bt) 57 { 58 } 59 |
60 std::string generateDisassembly(Addr pc, const SymbolTable *symtab) const; | 60 std::string generateDisassembly( 61 Addr pc, const SymbolTable *symtab) const override; |
61}; 62 63/** 64 * Class for condition register move operations. 65 */ 66class CondMoveOp : public PowerStaticInst 67{ 68 protected: --- 4 unchanged lines hidden (view full) --- 73 /// Constructor 74 CondMoveOp(const char *mnem, MachInst _machInst, OpClass __opClass) 75 : PowerStaticInst(mnem, _machInst, __opClass), 76 bf(machInst.bf), 77 bfa(machInst.bfa) 78 { 79 } 80 | 62}; 63 64/** 65 * Class for condition register move operations. 66 */ 67class CondMoveOp : public PowerStaticInst 68{ 69 protected: --- 4 unchanged lines hidden (view full) --- 74 /// Constructor 75 CondMoveOp(const char *mnem, MachInst _machInst, OpClass __opClass) 76 : PowerStaticInst(mnem, _machInst, __opClass), 77 bf(machInst.bf), 78 bfa(machInst.bfa) 79 { 80 } 81 |
81 std::string generateDisassembly(Addr pc, const SymbolTable *symtab) const; | 82 std::string generateDisassembly( 83 Addr pc, const SymbolTable *symtab) const override; |
82}; 83 84} // namespace PowerISA 85 86#endif //__ARCH_POWER_INSTS_CONDITION_HH__ | 84}; 85 86} // namespace PowerISA 87 88#endif //__ARCH_POWER_INSTS_CONDITION_HH__ |