mem.isa (12234:78ece221f9f5) | mem.isa (12236:126ac9da6050) |
---|---|
1// -*- mode:c++ -*- 2 3// Copyright (c) 2003-2005 The Regents of The University of Michigan 4// All rights reserved. 5// 6// Redistribution and use in source and binary forms, with or without 7// modification, are permitted provided that the following conditions are 8// met: redistributions of source code must retain the above copyright --- 115 unchanged lines hidden (view full) --- 124 */ 125 class %(class_name)s : public %(base_class)s 126 { 127 public: 128 129 /// Constructor. 130 %(class_name)s(ExtMachInst machInst); 131 | 1// -*- mode:c++ -*- 2 3// Copyright (c) 2003-2005 The Regents of The University of Michigan 4// All rights reserved. 5// 6// Redistribution and use in source and binary forms, with or without 7// modification, are permitted provided that the following conditions are 8// met: redistributions of source code must retain the above copyright --- 115 unchanged lines hidden (view full) --- 124 */ 125 class %(class_name)s : public %(base_class)s 126 { 127 public: 128 129 /// Constructor. 130 %(class_name)s(ExtMachInst machInst); 131 |
132 %(BasicExecDeclare)s 133 134 %(EACompDeclare)s 135 136 %(InitiateAccDeclare)s 137 138 %(CompleteAccDeclare)s | 132 Fault execute(ExecContext *, Trace::InstRecord *) const; 133 Fault eaComp(ExecContext *, Trace::InstRecord *) const; 134 Fault initiateAcc(ExecContext *, Trace::InstRecord *) const; 135 Fault completeAcc(PacketPtr, ExecContext *, Trace::InstRecord *) const; |
139 }; 140}}; 141 | 136 }; 137}}; 138 |
142 143def template EACompDeclare {{ 144 Fault eaComp(ExecContext *, Trace::InstRecord *) const; 145}}; 146 147def template InitiateAccDeclare {{ 148 Fault initiateAcc(ExecContext *, Trace::InstRecord *) const; 149}}; 150 151 152def template CompleteAccDeclare {{ 153 Fault completeAcc(PacketPtr, ExecContext *, Trace::InstRecord *) const; 154}}; 155 | |
156def template LoadStoreConstructor {{ 157 %(class_name)s::%(class_name)s(ExtMachInst machInst) 158 : %(base_class)s("%(mnemonic)s", machInst, %(op_class)s) 159 { 160 %(constructor)s; 161 } 162}}; 163 --- 392 unchanged lines hidden --- | 139def template LoadStoreConstructor {{ 140 %(class_name)s::%(class_name)s(ExtMachInst machInst) 141 : %(base_class)s("%(mnemonic)s", machInst, %(op_class)s) 142 { 143 %(constructor)s; 144 } 145}}; 146 --- 392 unchanged lines hidden --- |