Commit ff56ff7a07fe8fbcc4e9f74972d8399ca1ab8051
1 parent
31d731ab
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
Showing
2 changed files
with
3 additions
and
0 deletions
tests/cris/check_btst.s
tests/cris/check_clearfv32.s
... | ... | @@ -8,10 +8,12 @@ |
8 | 8 | setf puixnzvc |
9 | 9 | clearf x ; Actually, x would be cleared by almost-all other insns. |
10 | 10 | move ccs,r3 |
11 | + and.d 0xff, $r3 | |
11 | 12 | checkr3 ef |
12 | 13 | |
13 | 14 | setf puixnzvc |
14 | 15 | moveq 0, $r3 ; moveq should only clear the xflag. |
15 | 16 | move ccs,r3 |
17 | + and.d 0xff, $r3 | |
16 | 18 | checkr3 ef |
17 | 19 | quit | ... | ... |