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 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; |
136 }; 137}}; 138 |
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 --- |