From 63b10907ef822aa6873d7f4f4d1ee849a188b2c4 Mon Sep 17 00:00:00 2001 From: Gabe Black Date: Fri, 4 Jan 2013 18:09:45 -0600 Subject: SPARC: Keep a copy of the current ASI in the decoder. Committed by: Nilay Vaish --- src/arch/sparc/utility.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/arch/sparc/utility.cc') 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)); -- cgit v1.2.3