fix flushw implementation
authorAli Saidi <saidi@eecs.umich.edu>
Sun, 21 Jan 2007 04:09:28 +0000 (23:09 -0500)
committerAli Saidi <saidi@eecs.umich.edu>
Sun, 21 Jan 2007 04:09:28 +0000 (23:09 -0500)
--HG--
extra : convert_revision : 136b2bddc7cb70cde30e930ad3a13bd56c7162e1

src/arch/sparc/isa/decoder.isa

index 2c1b927990b81d97d69c4a0e080da584679dcca3..dafdc96f674e630136cbbc41522bfe2ad60b398c 100644 (file)
@@ -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>);