mem.isa (7045:e21fe6a62b1c) | mem.isa (7712:7733c562e5e3) |
---|---|
1// -*- mode:c++ -*- 2 3// Copyright (c) 2003-2005 The Regents of The University of Michigan 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 --- 340 unchanged lines hidden (view full) --- 349}}; 350 351 352def template StoreCompleteAcc {{ 353 Fault %(class_name)s::completeAcc(PacketPtr pkt, 354 %(CPU_exec_context)s *xc, 355 Trace::InstRecord *traceData) const 356 { | 1// -*- mode:c++ -*- 2 3// Copyright (c) 2003-2005 The Regents of The University of Michigan 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 --- 340 unchanged lines hidden (view full) --- 349}}; 350 351 352def template StoreCompleteAcc {{ 353 Fault %(class_name)s::completeAcc(PacketPtr pkt, 354 %(CPU_exec_context)s *xc, 355 Trace::InstRecord *traceData) const 356 { |
357 Fault fault = NoFault; 358 359 %(fp_enable_check)s; 360 %(op_dest_decl)s; 361 362 if (fault == NoFault) { 363 %(postacc_code)s; 364 } 365 366 if (fault == NoFault) { 367 %(op_wb)s; 368 } 369 370 return fault; | 357 return NoFault; |
371 } 372}}; 373 374 375def template StoreCondCompleteAcc {{ 376 Fault %(class_name)s::completeAcc(PacketPtr pkt, 377 %(CPU_exec_context)s *xc, 378 Trace::InstRecord *traceData) const --- 207 unchanged lines hidden --- | 358 } 359}}; 360 361 362def template StoreCondCompleteAcc {{ 363 Fault %(class_name)s::completeAcc(PacketPtr pkt, 364 %(CPU_exec_context)s *xc, 365 Trace::InstRecord *traceData) const --- 207 unchanged lines hidden --- |