diff options
author | Gabe Black <gblack@eecs.umich.edu> | 2006-10-26 22:47:17 -0400 |
---|---|---|
committer | Gabe Black <gblack@eecs.umich.edu> | 2006-10-26 22:47:17 -0400 |
commit | f33bab2386ea1f3dbdcff547501af0e78d659101 (patch) | |
tree | 4812e03fab8d9d86682e120024c846952e8161fa /src/arch | |
parent | f88b90dd564f59ca0f045df6f12c87185cbef687 (diff) | |
download | gem5-f33bab2386ea1f3dbdcff547501af0e78d659101.tar.xz |
Cleaned up the decoder slightly.
--HG--
extra : convert_revision : a7050aa8768c132f0161f00ba17ae02d71f0b829
Diffstat (limited to 'src/arch')
-rw-r--r-- | src/arch/sparc/isa/decoder.isa | 5 |
1 files changed, 2 insertions, 3 deletions
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); } } }}); |