diff options
author | Gabe Black <gblack@eecs.umich.edu> | 2007-04-11 15:30:09 +0000 |
---|---|---|
committer | Gabe Black <gblack@eecs.umich.edu> | 2007-04-11 15:30:09 +0000 |
commit | 6ec510385dd23f339f86f3ace4339c791affba89 (patch) | |
tree | 19f75945236aa56180e58a87057fcb191d1e2e53 /src/arch/sparc/isa/formats/micro.isa | |
parent | fcc35a67e0cfa2e627ebba3fca0252bfb18f03c6 (diff) | |
parent | 121a5438a512ec26728a73ea8b4e5677bed4b94e (diff) | |
download | gem5-6ec510385dd23f339f86f3ace4339c791affba89.tar.xz |
Merge zizzer.eecs.umich.edu:/bk/newmem
into ahchoo.blinky.homelinux.org:/home/gblack/m5/newmem-o3-spec
--HG--
extra : convert_revision : 50102b96ba07b2b132d649a111268ee1f08c2147
Diffstat (limited to 'src/arch/sparc/isa/formats/micro.isa')
-rw-r--r-- | src/arch/sparc/isa/formats/micro.isa | 33 |
1 files changed, 31 insertions, 2 deletions
diff --git a/src/arch/sparc/isa/formats/micro.isa b/src/arch/sparc/isa/formats/micro.isa index 82d7fb4cb..da0f97d1b 100644 --- a/src/arch/sparc/isa/formats/micro.isa +++ b/src/arch/sparc/isa/formats/micro.isa @@ -1,4 +1,4 @@ -// Copyright (c) 2006 The Regents of The University of Michigan +// Copyright (c) 2006-2007 The Regents of The University of Michigan // All rights reserved. // // Redistribution and use in source and binary forms, with or without @@ -26,6 +26,33 @@ // // Authors: Gabe Black +//This delcares the initiateAcc function in memory operations +def template MacroInitiateAcc {{ + Fault initiateAcc(%(CPU_exec_context)s *, Trace::InstRecord *) const + { + panic("Tried to execute a macroop directly!\n"); + return NoFault; + } +}}; + +def template MacroCompleteAcc {{ + Fault completeAcc(PacketPtr, %(CPU_exec_context)s *, + Trace::InstRecord *) const + { + panic("Tried to execute a macroop directly!\n"); + return NoFault; + } +}}; + +//This template provides the execute functions for a store +def template MacroExecute {{ + Fault execute(%(CPU_exec_context)s *, Trace::InstRecord *) const + { + panic("Tried to execute a macroop directly!\n"); + return NoFault; + } +}}; + output header {{ class SparcMacroInst : public SparcStaticInst @@ -60,7 +87,9 @@ output header {{ return microOps[microPC]; } - %(BasicExecPanic)s + %(MacroExecute)s + %(MacroInitiateAcc)s + %(MacroCompleteAcc)s }; class SparcMicroInst : public SparcStaticInst |