提交 ff56ff7a 编写于 作者: E edgar_igl

CRIS: Make CCS related tests pass in system simulation by masking off flags...

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
上级 31d731ab
......@@ -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
......
......@@ -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
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册