diff options
author | Gabe Black <gblack@eecs.umich.edu> | 2013-01-04 18:09:45 -0600 |
---|---|---|
committer | Gabe Black <gblack@eecs.umich.edu> | 2013-01-04 18:09:45 -0600 |
commit | 63b10907ef822aa6873d7f4f4d1ee849a188b2c4 (patch) | |
tree | 5b1874709929d6f330cb18aacc75c2a13e753f21 /src/arch/sparc/utility.cc | |
parent | a83e74b37adc26afe4e69e59ed0092dafa63fc09 (diff) | |
download | gem5-63b10907ef822aa6873d7f4f4d1ee849a188b2c4.tar.xz |
SPARC: Keep a copy of the current ASI in the decoder.
Committed by: Nilay Vaish <nilay@cs.wisc.edu>
Diffstat (limited to 'src/arch/sparc/utility.cc')
-rw-r--r-- | src/arch/sparc/utility.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/arch/sparc/utility.cc b/src/arch/sparc/utility.cc index b9a07b57b..d99ef4aa0 100644 --- a/src/arch/sparc/utility.cc +++ b/src/arch/sparc/utility.cc @@ -94,7 +94,7 @@ copyMiscRegs(ThreadContext *src, ThreadContext *dest) // src->readMiscRegNoEffect(MISCREG_Y)); // dest->setMiscRegNoEffect(MISCREG_CCR, // src->readMiscRegNoEffect(MISCREG_CCR)); - dest->setMiscRegNoEffect(MISCREG_ASI, + dest->setMiscReg(MISCREG_ASI, src->readMiscRegNoEffect(MISCREG_ASI)); dest->setMiscRegNoEffect(MISCREG_TICK, src->readMiscRegNoEffect(MISCREG_TICK)); |