summaryrefslogtreecommitdiff
path: root/arch/alpha/ev5.cc
diff options
context:
space:
mode:
authorKevin Lim <ktlim@umich.edu>2004-05-28 14:42:59 -0400
committerKevin Lim <ktlim@umich.edu>2004-05-28 14:42:59 -0400
commit6964ecd1cf14f294a300e91bc5b65042d03952d4 (patch)
tree294cda7746b1fc636a00c2a377d41a95e67a62a3 /arch/alpha/ev5.cc
parent67b5f6afc10a87a5942d24ad503f3e6b9358580c (diff)
downloadgem5-6964ecd1cf14f294a300e91bc5b65042d03952d4.tar.xz
Updated FastCPU model with all the recent changes.
arch/alpha/ev5.cc: Updated to support new forms of setIntReg and setFloatRegDouble. Will need to be cleaned up in the future. arch/isa_parser.py: Added in FastCPU model. --HG-- extra : convert_revision : 384a27efcb50729ea6c3cc11653f395c300e48db
Diffstat (limited to 'arch/alpha/ev5.cc')
-rw-r--r--arch/alpha/ev5.cc6
1 files changed, 4 insertions, 2 deletions
diff --git a/arch/alpha/ev5.cc b/arch/alpha/ev5.cc
index e88f6d0a3..ecf66f4f5 100644
--- a/arch/alpha/ev5.cc
+++ b/arch/alpha/ev5.cc
@@ -153,8 +153,10 @@ void
AlphaISA::zeroRegisters(XC *xc)
{
// Insure ISA semantics
- xc->setIntReg(ZeroReg, 0);
- xc->setFloatRegDouble(ZeroReg, 0.0);
+ // (no longer very clean due to the change in setIntReg() in the
+ // cpu model. Consider changing later.)
+ xc->xc->setIntReg(ZeroReg, 0);
+ xc->xc->setFloatRegDouble(ZeroReg, 0.0);
}
void