From: Gabe Black Date: Fri, 27 Oct 2006 02:47:17 +0000 (-0400) Subject: Cleaned up the decoder slightly. X-Git-Tag: m5_2.0_beta2~70^2~21^2~5 X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=f33bab2386ea1f3dbdcff547501af0e78d659101;p=gem5.git Cleaned up the decoder slightly. --HG-- extra : convert_revision : a7050aa8768c132f0161f00ba17ae02d71f0b829 --- diff --git a/src/arch/sparc/isa/decoder.isa b/src/arch/sparc/isa/decoder.isa index d5f0a0738..a2657b3cd 100644 --- a/src/arch/sparc/isa/decoder.isa +++ b/src/arch/sparc/isa/decoder.isa @@ -447,12 +447,12 @@ decode OP default Unknown::unknown() 0x32: Priv::wrpr({{ // XXX Need to protect with format that traps non-priv // access - fault = xc->setMiscRegWithEffect(RD + PrStart, Rs1 ^ Rs2_or_imm13); + xc->setMiscRegWithEffect(RD + PrStart, Rs1 ^ Rs2_or_imm13); }}); 0x33: HPriv::wrhpr({{ // XXX Need to protect with format that traps non-priv/priv // access - fault = xc->setMiscRegWithEffect(RD + HprStart, Rs1 ^ Rs2_or_imm13); + xc->setMiscRegWithEffect(RD + HprStart, Rs1 ^ Rs2_or_imm13); }}); 0x34: decode OPF{ format BasicOperate{ @@ -719,7 +719,6 @@ decode OP default Unknown::unknown() //no matter what. This ensures that the results //are written in the new window as well. xc->setMiscRegWithEffect(MISCREG_CWP, Cwp); - warn("About to set the CWP to %d\n", Cwp); } } }});