* [Qemu-devel] [4298] CRIS: Make CCS related tests pass in system simulation by masking off flags not related to the tests .
@ 2008-05-02 21:13 Edgar E. Iglesias
0 siblings, 0 replies; only message in thread
From: Edgar E. Iglesias @ 2008-05-02 21:13 UTC (permalink / raw)
To: qemu-devel
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
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2008-05-02 21:13 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-05-02 21:13 [Qemu-devel] [4298] CRIS: Make CCS related tests pass in system simulation by masking off flags not related to the tests Edgar E. Iglesias
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).