1// Copyright (c) 2006-2007 The Regents of The University of Michigan 2// All rights reserved. 3// 4// Redistribution and use in source and binary forms, with or without 5// modification, are permitted provided that the following conditions are 6// met: redistributions of source code must retain the above copyright 7// notice, this list of conditions and the following disclaimer; 8// redistributions in binary form must reproduce the above copyright --- 147 unchanged lines hidden (view full) --- 156 %(class_name)s(ExtMachInst machInst); 157 158 protected: 159 class %(class_name)s_0 : public %(base_class)sMicro 160 { 161 public: 162 // Constructor 163 %(class_name)s_0(ExtMachInst machInst); |
164 Fault execute(ExecContext *, Trace::InstRecord *) const; 165 Fault initiateAcc(ExecContext *, Trace::InstRecord *) const; 166 Fault completeAcc(PacketPtr, ExecContext *, 167 Trace::InstRecord *) const; |
168 }; 169 170 class %(class_name)s_1 : public %(base_class)sMicro 171 { 172 public: 173 // Constructor 174 %(class_name)s_1(ExtMachInst machInst); |
175 Fault execute(ExecContext *, Trace::InstRecord *) const; 176 Fault initiateAcc(ExecContext *, Trace::InstRecord *) const; 177 Fault completeAcc(PacketPtr, ExecContext *, 178 Trace::InstRecord *) const; |
179 }; 180 181 class %(class_name)s_2 : public %(base_class)sMicro 182 { 183 public: 184 // Constructor 185 %(class_name)s_2(ExtMachInst machInst); |
186 Fault execute(ExecContext *, Trace::InstRecord *) const; 187 Fault initiateAcc(ExecContext *, Trace::InstRecord *) const; 188 Fault completeAcc(PacketPtr, ExecContext *, 189 Trace::InstRecord *) const; |
190 }; 191 192 class %(class_name)s_3 : public %(base_class)sMicro 193 { 194 public: 195 // Constructor 196 %(class_name)s_3(ExtMachInst machInst); |
197 Fault execute(ExecContext *, Trace::InstRecord *) const; 198 Fault initiateAcc(ExecContext *, Trace::InstRecord *) const; 199 Fault completeAcc(PacketPtr, ExecContext *, 200 Trace::InstRecord *) const; |
201 }; 202 203 class %(class_name)s_4 : public %(base_class)sMicro 204 { 205 public: 206 // Constructor 207 %(class_name)s_4(ExtMachInst machInst); |
208 Fault execute(ExecContext *, Trace::InstRecord *) const; 209 Fault initiateAcc(ExecContext *, Trace::InstRecord *) const; 210 Fault completeAcc(PacketPtr, ExecContext *, 211 Trace::InstRecord *) const; |
212 }; 213 214 class %(class_name)s_5 : public %(base_class)sMicro 215 { 216 public: 217 // Constructor 218 %(class_name)s_5(ExtMachInst machInst); |
219 Fault execute(ExecContext *, Trace::InstRecord *) const; 220 Fault initiateAcc(ExecContext *, Trace::InstRecord *) const; 221 Fault completeAcc(PacketPtr, ExecContext *, 222 Trace::InstRecord *) const; |
223 }; 224 225 class %(class_name)s_6 : public %(base_class)sMicro 226 { 227 public: 228 // Constructor 229 %(class_name)s_6(ExtMachInst machInst); |
230 Fault execute(ExecContext *, Trace::InstRecord *) const; 231 Fault initiateAcc(ExecContext *, Trace::InstRecord *) const; 232 Fault completeAcc(PacketPtr, ExecContext *, 233 Trace::InstRecord *) const; |
234 }; 235 236 class %(class_name)s_7 : public %(base_class)sMicro 237 { 238 public: 239 // Constructor 240 %(class_name)s_7(ExtMachInst machInst); |
241 Fault execute(ExecContext *, Trace::InstRecord *) const; 242 Fault initiateAcc(ExecContext *, Trace::InstRecord *) const; 243 Fault completeAcc(PacketPtr, ExecContext *, 244 Trace::InstRecord *) const; |
245 }; 246 }; 247}}; 248 249// Basic instruction class constructor template. 250def template BlockMemConstructor {{ 251 %(class_name)s::%(class_name)s(ExtMachInst machInst) 252 : %(base_class)s("%(mnemonic)s", machInst) --- 97 unchanged lines hidden --- |