repo.or.cz
/
qemu
/
agraf.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
s390-ccw.img: replace while loop with a disabled wait on s390 bios
[qemu/agraf.git]
/
tests
/
tcg
/
cris
/
check_mcp.s
blob
e65ccddfd465111ed733d9a9adbb1dc1e17edc4c
1
# mach: crisv32
2
# output: fffffffe\n1\n1ffff\nfffffffe\ncc463bdc\n4c463bdc\n0\n
3
4
.include
"testutils.inc"
5
start
6
7
; Set R
,
clear C.
8
move
0x100
,
ccs
9
moveq
-
5
,
r3
10
move
2
,
mof
11
mcp mof
,
r3
12
test_cc
1 0 0 0
13
checkr3 fffffffe
14
15
moveq
2
,
r3
16
move
-
1
,
srp
17
mcp srp
,
r3
18
test_cc
0 0 0 0
19
checkr3
1
20
21
move
0xffff
,
srp
22
move srp
,
r3
23
mcp srp
,
r3
24
test_cc
0 0 0 0
25
checkr3
1
ffff
26
27
move
-
1
,
mof
28
move mof
,
r3
29
mcp mof
,
r3
30
test_cc
1 0 0 0
31
checkr3 fffffffe
32
33
move
0x5432f789
,
mof
34
move.d
0x78134452
,
r3
35
mcp mof
,
r3
36
test_cc
1 0 1 0
37
checkr3 cc463bdc
38
39
move
0x80000000
,
srp
40
mcp srp
,
r3
41
test_cc
0 0 1 0
42
checkr3
4
c463bdc
43
44
move
0xb3b9c423
,
srp
45
mcp srp
,
r3
46
test_cc
0 1 0 0
47
checkr3
0
48
49
quit