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

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

415}};
416
417
418def template StoreCompleteAcc {{
419 Fault %(class_name)s::completeAcc(Packet *pkt,
420 %(CPU_exec_context)s *xc,
421 Trace::InstRecord *traceData) const
422 {
423 Fault fault = NoFault;
424
425 %(fp_enable_check)s;
426 %(op_dest_decl)s;
427
428 if (fault == NoFault) {
429 %(postacc_code)s;
430 }
431
432 if (fault == NoFault) {
433 %(op_wb)s;
434 }
435
436 return fault;
423 return NoFault;
424 }
425}};
426
440
441def template StoreCompleteAcc {{
442 Fault %(class_name)s::completeAcc(Packet *pkt,
443 %(CPU_exec_context)s *xc,
444 Trace::InstRecord *traceData) const
445 {
446 Fault fault = NoFault;
447
448 %(op_dest_decl)s;
449
450 if (fault == NoFault) {
451 %(postacc_code)s;
452 }
453
454 if (fault == NoFault) {
455 %(op_wb)s;
456 }
457
458 return fault;
459 }
460}};
461
427def template StoreCondCompleteAcc {{
428 Fault %(class_name)s::completeAcc(Packet *pkt,
429 %(CPU_exec_context)s *xc,
430 Trace::InstRecord *traceData) const
431 {
432 Fault fault = NoFault;
433
434 %(fp_enable_check)s;

--- 162 unchanged lines hidden ---