mem.isa (7045:e21fe6a62b1c) mem.isa (7712:7733c562e5e3)
1// -*- mode:c++ -*-
2
3// Copyright (c) 2009 The University of Edinburgh
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

--- 198 unchanged lines hidden (view full) ---

207}};
208
209
210def template StoreCompleteAcc {{
211 Fault %(class_name)s::completeAcc(PacketPtr pkt,
212 %(CPU_exec_context)s *xc,
213 Trace::InstRecord *traceData) const
214 {
1// -*- mode:c++ -*-
2
3// Copyright (c) 2009 The University of Edinburgh
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

--- 198 unchanged lines hidden (view full) ---

207}};
208
209
210def template StoreCompleteAcc {{
211 Fault %(class_name)s::completeAcc(PacketPtr pkt,
212 %(CPU_exec_context)s *xc,
213 Trace::InstRecord *traceData) const
214 {
215 Fault fault = NoFault;
216
217 %(op_dest_decl)s;
218
219 if (fault == NoFault) {
220 %(op_wb)s;
221 }
222
223 return fault;
215 return NoFault;
224 }
225}};
226
227
228// The generic memory operation generator. This is called when two versions
229// of an instruction are needed - when Ra == 0 and otherwise. This is so
230// that instructions can use the value 0 when Ra == 0 but avoid having a
231// dependence on Ra.

--- 118 unchanged lines hidden ---
216 }
217}};
218
219
220// The generic memory operation generator. This is called when two versions
221// of an instruction are needed - when Ra == 0 and otherwise. This is so
222// that instructions can use the value 0 when Ra == 0 but avoid having a
223// dependence on Ra.

--- 118 unchanged lines hidden ---