summaryrefslogtreecommitdiff
path: root/src/arch/alpha/regfile.hh
diff options
context:
space:
mode:
authorGabe Black <gblack@eecs.umich.edu>2006-12-28 14:27:45 -0500
committerGabe Black <gblack@eecs.umich.edu>2006-12-28 14:27:45 -0500
commitb642ad00eb55678f4ce20fdf127a00a6c0bbdcb8 (patch)
tree37280a2bade801cc43d66702b537cfa0c51ba91b /src/arch/alpha/regfile.hh
parent9ca6efdb60866b1feada0295b02fdc7ff49eacf2 (diff)
downloadgem5-b642ad00eb55678f4ce20fdf127a00a6c0bbdcb8.tar.xz
Implement a stub nnpc for alpha that is read only as npc+4.
--HG-- extra : convert_revision : d08b740d32757fa5471c9bcde9084d59a1d8102d
Diffstat (limited to 'src/arch/alpha/regfile.hh')
-rw-r--r--src/arch/alpha/regfile.hh6
1 files changed, 2 insertions, 4 deletions
diff --git a/src/arch/alpha/regfile.hh b/src/arch/alpha/regfile.hh
index c73c32bad..54372da36 100644
--- a/src/arch/alpha/regfile.hh
+++ b/src/arch/alpha/regfile.hh
@@ -78,13 +78,11 @@ namespace AlphaISA
Addr readNextNPC()
{
- return nnpc;
+ return npc + sizeof(MachInst);
}
void setNextNPC(Addr val)
- {
- nnpc = val;
- }
+ { }
protected:
IntRegFile intRegFile; // (signed) integer register file