From: edgar_igl Date: Fri, 2 May 2008 21:13:21 +0000 (+0000) Subject: CRIS: Make CCS related tests pass in system simulation by masking off flags not relat... X-Git-Tag: TizenStudio_2.0_p2.3.2~208^2~14988 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=ff56ff7a07fe8fbcc4e9f74972d8399ca1ab8051;p=sdk%2Femulator%2Fqemu.git CRIS: Make CCS related tests pass in system simulation by masking off flags not related to the tests. git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@4298 c046a42c-6fe2-441c-8c8c-71466251a162 --- diff --git a/tests/cris/check_btst.s b/tests/cris/check_btst.s index 1c10cf3..e39fc8f 100644 --- a/tests/cris/check_btst.s +++ b/tests/cris/check_btst.s @@ -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 diff --git a/tests/cris/check_clearfv32.s b/tests/cris/check_clearfv32.s index db70072..4e91360 100644 --- a/tests/cris/check_clearfv32.s +++ b/tests/cris/check_clearfv32.s @@ -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