From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1Js2ZJ-0007Jr-6Y for qemu-devel@nongnu.org; Fri, 02 May 2008 17:13:25 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1Js2ZI-0007Ia-Jo for qemu-devel@nongnu.org; Fri, 02 May 2008 17:13:24 -0400 Received: from [199.232.76.173] (port=34716 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Js2ZI-0007II-7K for qemu-devel@nongnu.org; Fri, 02 May 2008 17:13:24 -0400 Received: from savannah.gnu.org ([199.232.41.3] helo=sv.gnu.org) by monty-python.gnu.org with esmtps (TLS-1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1Js2ZH-0001jz-UR for qemu-devel@nongnu.org; Fri, 02 May 2008 17:13:24 -0400 Received: from cvs.savannah.gnu.org ([199.232.41.69]) by sv.gnu.org with esmtp (Exim 4.63) (envelope-from ) id 1Js2ZG-0000mP-SW for qemu-devel@nongnu.org; Fri, 02 May 2008 21:13:22 +0000 Received: from edgar_igl by cvs.savannah.gnu.org with local (Exim 4.63) (envelope-from ) id 1Js2ZG-0000mB-Dk for qemu-devel@nongnu.org; Fri, 02 May 2008 21:13:22 +0000 MIME-Version: 1.0 Errors-To: edgar_igl Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit From: "Edgar E. Iglesias" Message-Id: Date: Fri, 02 May 2008 21:13:22 +0000 Subject: [Qemu-devel] [4298] CRIS: Make CCS related tests pass in system simulation by masking off flags not related to the tests . Reply-To: qemu-devel@nongnu.org List-Id: qemu-devel.nongnu.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-devel@nongnu.org Revision: 4298 http://svn.sv.gnu.org/viewvc/?view=rev&root=qemu&revision=4298 Author: edgar_igl Date: 2008-05-02 21:13:21 +0000 (Fri, 02 May 2008) Log Message: ----------- CRIS: Make CCS related tests pass in system simulation by masking off flags not related to the tests. Modified Paths: -------------- trunk/tests/cris/check_btst.s trunk/tests/cris/check_clearfv32.s Modified: trunk/tests/cris/check_btst.s =================================================================== --- trunk/tests/cris/check_btst.s 2008-05-02 21:08:33 UTC (rev 4297) +++ trunk/tests/cris/check_btst.s 2008-05-02 21:13:21 UTC (rev 4298) @@ -89,6 +89,7 @@ move $r0, $ccs btst r3,r3 move $ccs, $r0 + and.d 0xff, $r0 cmp.d 0xe3, $r0 test_cc 0 1 0 0 Modified: trunk/tests/cris/check_clearfv32.s =================================================================== --- trunk/tests/cris/check_clearfv32.s 2008-05-02 21:08:33 UTC (rev 4297) +++ trunk/tests/cris/check_clearfv32.s 2008-05-02 21:13:21 UTC (rev 4298) @@ -8,10 +8,12 @@ setf puixnzvc clearf x ; Actually, x would be cleared by almost-all other insns. move ccs,r3 + and.d 0xff, $r3 checkr3 ef setf puixnzvc moveq 0, $r3 ; moveq should only clear the xflag. move ccs,r3 + and.d 0xff, $r3 checkr3 ef quit