summaryrefslogtreecommitdiff
path: root/src/arch/sparc
diff options
context:
space:
mode:
authorAli Saidi <saidi@eecs.umich.edu>2007-01-20 23:09:28 -0500
committerAli Saidi <saidi@eecs.umich.edu>2007-01-20 23:09:28 -0500
commit95e4a51c6cf89c5269c758d40dd7952d43d2a3a7 (patch)
tree581c3fbf4db3fe2a7d06ce608c93ae27913242e6 /src/arch/sparc
parentccd67ce44f01aa3d7cd35e9d054e17a2c63ec816 (diff)
downloadgem5-95e4a51c6cf89c5269c758d40dd7952d43d2a3a7.tar.xz
fix flushw implementation
--HG-- extra : convert_revision : 136b2bddc7cb70cde30e930ad3a13bd56c7162e1
Diffstat (limited to 'src/arch/sparc')
-rw-r--r--src/arch/sparc/isa/decoder.isa2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/arch/sparc/isa/decoder.isa b/src/arch/sparc/isa/decoder.isa
index 2c1b92799..dafdc96f6 100644
--- a/src/arch/sparc/isa/decoder.isa
+++ b/src/arch/sparc/isa/decoder.isa
@@ -468,7 +468,7 @@ decode OP default Unknown::unknown()
//0x11-0x1F should cause an illegal instruction exception
}
0x2B: BasicOperate::flushw({{
- if(NWindows - 2 - Cansave == 0)
+ if(NWindows - 2 - Cansave != 0)
{
if(Otherwin)
fault = new SpillNOther(4*Wstate<5:3>);