mem.isa (12234:78ece221f9f5) | mem.isa (12236:126ac9da6050) |
---|---|
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 | 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 %(BasicExecDeclare)s 146 147 %(EACompDeclare)s 148 149 %(InitiateAccDeclare)s 150 151 %(CompleteAccDeclare)s | 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; |
152 }; 153}}; 154 | 149 }; 150}}; 151 |
155def template EACompDeclare {{ 156 Fault eaComp(ExecContext *, Trace::InstRecord *) const; 157}}; | |
158 | 152 |
159def template InitiateAccDeclare {{ 160 Fault initiateAcc(ExecContext *, Trace::InstRecord *) const; 161}}; 162 163 164def template CompleteAccDeclare {{ 165 Fault completeAcc(Packet *, ExecContext *, Trace::InstRecord *) const; 166}}; 167 | |
168def template LoadStoreConstructor {{ 169 %(class_name)s::%(class_name)s(ExtMachInst machInst) 170 : %(base_class)s("%(mnemonic)s", machInst, %(op_class)s) 171 { 172 %(constructor)s; 173 } 174}}; 175 --- 423 unchanged lines hidden --- | 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 --- |