[4298] CRIS: Make CCS related tests pass in system simulation by masking off flags not related to the tests .
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
===================================================================
tests/cris/check_btst.s +1 -0
@@ -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
===================================================================
tests/cris/check_clearfv32.s +2 -0
@@ -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