aboutsummaryrefslogtreecommitdiff
path: root/tests/cris/check_clearfv32.s
diff options
context:
space:
mode:
authoredgar_igl <edgar_igl@c046a42c-6fe2-441c-8c8c-71466251a162>2008-05-02 21:13:21 +0000
committeredgar_igl <edgar_igl@c046a42c-6fe2-441c-8c8c-71466251a162>2008-05-02 21:13:21 +0000
commitff56ff7a07fe8fbcc4e9f74972d8399ca1ab8051 (patch)
tree48f65b6dd8df5f923c18545639000e03aced9910 /tests/cris/check_clearfv32.s
parent31d731ab2fc579693759f7d40f6a0ffb5615065a (diff)
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
Diffstat (limited to 'tests/cris/check_clearfv32.s')
-rw-r--r--tests/cris/check_clearfv32.s2
1 files changed, 2 insertions, 0 deletions
diff --git a/tests/cris/check_clearfv32.s b/tests/cris/check_clearfv32.s
index db700728a8..4e91360273 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