Mac OS X build fix, by Andreas Faerber.
[qemu/qemu_0_9_1_stable.git] / tests / cris / check_clearfv32.s
blobdb700728a8f1b2ca8eab230837daa3e4e81a0ac0
1 # mach: crisv32
2 # output: ef\nef\n
4 ; Check that "clearf x" doesn't trivially fail.
6 .include "testutils.inc"
7 start
8 setf puixnzvc
9 clearf x ; Actually, x would be cleared by almost-all other insns.
10 move ccs,r3
11 checkr3 ef
13 setf puixnzvc
14 moveq 0, $r3 ; moveq should only clear the xflag.
15 move ccs,r3
16 checkr3 ef
17 quit