repo.or.cz
/
qemu
/
mini2440.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
Move block drivers into their own directory
[qemu/mini2440.git]
/
tests
/
cris
/
check_clearfv32.s
blob
4e91360273ca6246bac683a89dfc0a44767f92eb
1
# mach: crisv32
2
# output: ef\nef\n
3
4
; Check that
"clearf x"
doesn
't trivially fail.
5
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
and.d 0xff, $r3
12
checkr3 ef
13
14
setf puixnzvc
15
moveq 0, $r3 ; moveq should only clear the xflag.
16
move ccs,r3
17
and.d 0xff, $r3
18
checkr3 ef
19
quit