mem.isa (2935:d1223a6c9156) mem.isa (3125:febd811bccc6)
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

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

523 return NoFault;
524 }
525}};
526
527def template MiscInitiateAcc {{
528 Fault %(class_name)s::initiateAcc(%(CPU_exec_context)s *xc,
529 Trace::InstRecord *traceData) const
530 {
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

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

523 return NoFault;
524 }
525}};
526
527def template MiscInitiateAcc {{
528 Fault %(class_name)s::initiateAcc(%(CPU_exec_context)s *xc,
529 Trace::InstRecord *traceData) const
530 {
531 panic("Misc instruction does not support split access method!");
531 warn("Misc instruction does not support split access method!");
532 return NoFault;
533 }
534}};
535
536
537def template MiscCompleteAcc {{
538 Fault %(class_name)s::completeAcc(Packet *pkt,
539 %(CPU_exec_context)s *xc,
540 Trace::InstRecord *traceData) const
541 {
532 return NoFault;
533 }
534}};
535
536
537def template MiscCompleteAcc {{
538 Fault %(class_name)s::completeAcc(Packet *pkt,
539 %(CPU_exec_context)s *xc,
540 Trace::InstRecord *traceData) const
541 {
542 panic("Misc instruction does not support split access method!");
542 warn("Misc instruction does not support split access method!");
543
544 return NoFault;
545 }
546}};
547
548// load instructions use Ra as dest, so check for
549// Ra == 31 to detect nops
550def template LoadNopCheckDecode {{

--- 186 unchanged lines hidden ---
543
544 return NoFault;
545 }
546}};
547
548// load instructions use Ra as dest, so check for
549// Ra == 31 to detect nops
550def template LoadNopCheckDecode {{

--- 186 unchanged lines hidden ---