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 --- 129 unchanged lines hidden (view full) --- 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 initiateAcc(ExecContext *, Trace::InstRecord *) const; 147 Fault completeAcc(Packet *, ExecContext *, Trace::InstRecord *) const; 148 }; 149}}; 150 151 152def template LoadStoreConstructor {{ 153 %(class_name)s::%(class_name)s(ExtMachInst machInst) 154 : %(base_class)s("%(mnemonic)s", machInst, %(op_class)s) 155 { 156 %(constructor)s; 157 } 158}}; 159 |
160def template LoadExecute {{ 161 Fault %(class_name)s::execute(ExecContext *xc, 162 Trace::InstRecord *traceData) const 163 { 164 Addr EA; 165 Fault fault = NoFault; 166 167 if (this->isFloating()) { --- 387 unchanged lines hidden --- |