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 --- 172 unchanged lines hidden (view full) --- 181 ccprintf(response, ">"); 182 } 183 184 return response.str(); 185 } 186}}; 187 188def template JumpExecute {{ |
189 Fault %(class_name)s::execute(ExecContext *xc, |
190 Trace::InstRecord *traceData) const 191 { 192 // Attempt to execute the instruction 193 Fault fault = NoFault; 194 195 %(op_decl)s; 196 %(op_rd)s; 197 --- 5 unchanged lines hidden (view full) --- 203 } 204 205 return fault; 206 } 207}}; 208 209def template BranchExecute {{ 210 Fault |
211 %(class_name)s::execute(ExecContext *xc, |
212 Trace::InstRecord *traceData) const 213 { 214 // Attempt to execute the instruction 215 Fault fault = NoFault; 216 217 %(op_decl)s; 218 %(op_rd)s; 219 --- 128 unchanged lines hidden --- |