From: Ali Saidi Date: Sun, 21 Jan 2007 04:09:28 +0000 (-0500) Subject: fix flushw implementation X-Git-Tag: m5_2.0_beta3~224^2~9^2~6 X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=95e4a51c6cf89c5269c758d40dd7952d43d2a3a7;p=gem5.git fix flushw implementation --HG-- extra : convert_revision : 136b2bddc7cb70cde30e930ad3a13bd56c7162e1 --- 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>);