static_inst.hh (12614:0bc465e1f5fb) | static_inst.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; --- 47 unchanged lines hidden (view full) --- 56 return (cr & mask) | bits; 57 } 58 59 /// Print a register name for disassembly given the unique 60 /// dependence tag number (FP or int). 61 void 62 printReg(std::ostream &os, RegId reg) const; 63 | 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; --- 47 unchanged lines hidden (view full) --- 56 return (cr & mask) | bits; 57 } 58 59 /// Print a register name for disassembly given the unique 60 /// dependence tag number (FP or int). 61 void 62 printReg(std::ostream &os, RegId reg) const; 63 |
64 std::string 65 generateDisassembly(Addr pc, const SymbolTable *symtab) const; | 64 std::string generateDisassembly( 65 Addr pc, const SymbolTable *symtab) const override; |
66 67 void | 66 67 void |
68 advancePC(PowerISA::PCState &pcState) const | 68 advancePC(PowerISA::PCState &pcState) const override |
69 { 70 pcState.advance(); 71 } 72 73 size_t 74 asBytes(void *buf, size_t max_size) override 75 { 76 return simpleAsBytes(buf, max_size, machInst); 77 } 78}; 79 80} // namespace PowerISA 81 82#endif //__ARCH_POWER_INSTS_STATICINST_HH__ | 69 { 70 pcState.advance(); 71 } 72 73 size_t 74 asBytes(void *buf, size_t max_size) override 75 { 76 return simpleAsBytes(buf, max_size, machInst); 77 } 78}; 79 80} // namespace PowerISA 81 82#endif //__ARCH_POWER_INSTS_STATICINST_HH__ |