1// -*- mode:c++ -*- 2 3// Copyright (c) 2007 MIPS Technologies, Inc. 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 --- 128 unchanged lines hidden (view full) --- 137 */ 138 class %(class_name)s : public %(base_class)s 139 { 140 public: 141 142 /// Constructor. 143 %(class_name)s(ExtMachInst machInst); 144 |
145 Fault execute(ExecContext *, Trace::InstRecord *) const; 146 Fault eaComp(ExecContext *, Trace::InstRecord *) const; 147 Fault initiateAcc(ExecContext *, Trace::InstRecord *) const; 148 Fault completeAcc(Packet *, ExecContext *, Trace::InstRecord *) const; |
149 }; 150}}; 151 |
152 |
153def template LoadStoreConstructor {{ 154 %(class_name)s::%(class_name)s(ExtMachInst machInst) 155 : %(base_class)s("%(mnemonic)s", machInst, %(op_class)s) 156 { 157 %(constructor)s; 158 } 159}}; 160 --- 423 unchanged lines hidden --- |