summaryrefslogtreecommitdiff
path: root/src/sim
diff options
context:
space:
mode:
authorGabe Black <gblack@eecs.umich.edu>2009-07-10 01:01:47 -0700
committerGabe Black <gblack@eecs.umich.edu>2009-07-10 01:01:47 -0700
commit64fe7af51a4cfd01886bf524f4f37d7e1a31fa9f (patch)
tree14d8f641c0f42da7f9e2a2dc93af9f719d3af740 /src/sim
parent9993ca8280b03a390d860b9dfb6597c7ecc98a27 (diff)
downloadgem5-64fe7af51a4cfd01886bf524f4f37d7e1a31fa9f.tar.xz
SPARC: Set up a lookup table for integer register flattening.
Using a look up table changed the run time of the SPARC_FS solaris boot regression from: real 14m45.951s user 13m57.528s sys 0m3.452s to: real 12m19.777s user 12m2.685s sys 0m2.420s
Diffstat (limited to 'src/sim')
-rw-r--r--src/sim/syscall_emul.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/sim/syscall_emul.cc b/src/sim/syscall_emul.cc
index 941c56530..811bdb73a 100644
--- a/src/sim/syscall_emul.cc
+++ b/src/sim/syscall_emul.cc
@@ -692,7 +692,7 @@ cloneFunc(SyscallDesc *desc, int callnum, LiveProcess *process,
ctc->setIntReg(NumIntArchRegs + 4, 0);
ctc->setIntReg(NumIntArchRegs + 3, NWindows - 2);
ctc->setIntReg(NumIntArchRegs + 5, NWindows);
- ctc->setMiscRegNoEffect(MISCREG_CWP, 0);
+ ctc->setMiscReg(MISCREG_CWP, 0);
ctc->setIntReg(NumIntArchRegs + 7, 0);
ctc->setMiscRegNoEffect(MISCREG_TL, 0);
ctc->setMiscRegNoEffect(MISCREG_ASI, ASI_PRIMARY);