mem.isa (7045:e21fe6a62b1c) mem.isa (7712:7733c562e5e3)
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 {
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;
437 }
438}};
439
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
462def template StoreCondCompleteAcc {{
463 Fault %(class_name)s::completeAcc(Packet *pkt,
464 %(CPU_exec_context)s *xc,
465 Trace::InstRecord *traceData) const
466 {
467 Fault fault = NoFault;
468
469 %(fp_enable_check)s;

--- 162 unchanged lines hidden ---
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 ---