repo.or.cz
/
kvm-userspace.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
kvm: qemu: remove pre-kvm_cpu_exec code in main_loop()
[kvm-userspace.git]
/
qemu
/
tests
/
cris
/
check_movemr.s
blob
88489dee319840b1227a4b76df2d255c3eb1e4b9
1
# mach: crisv3 crisv8 crisv10 crisv32
2
# output: 12345678\n10234567\n12345678\n12344567\n12344523\n76543210\nffffffaa\naa\n9911\nffff9911\n78\n56\n3456\n6712\n
3
4
.include
"testutils.inc"
5
start
6
7
.data
8
mem1
:
9
.dword 0x12345678
10
mem2
:
11
.word 0x4567
12
mem3
:
13
.byte 0x23
14
.dword 0x76543210
15
.byte 0xaa,0x11,0x99
16
17
.text
18
move.d mem1
,
r2
19
move.d
[
r2
],
r3
20
test_move_cc
0 0 0 0
21
checkr3
12345678
22
23
move.d mem2
,
r3
24
move.d
[
r3
],
r3
25
test_move_cc
0 0 0 0
26
checkr3
10234567
27
28
move.d mem1
,
r2
29
move.d
[
r2+
],
r3
30
test_move_cc
0 0 0 0
31
checkr3
12345678
32
33
move.w
[
r2+
],
r3
34
test_move_cc
0 0 0 0
35
checkr3
12344567
36
37
move.
b
[
r2+
],
r3
38
test_move_cc
0 0 0 0
39
checkr3
12344523
40
41
move.d
[
r2+
],
r3
42
test_move_cc
0 0 0 0
43
checkr3
76543210
44
45
movs.
b
[
r2
],
r3
46
test_move_cc
1 0 0 0
47
checkr3 ffffffaa
48
49
movu.
b
[
r2+
],
r3
50
test_move_cc
0 0 0 0
51
checkr3 aa
52
53
movu.w
[
r2
],
r3
54
test_move_cc
0 0 0 0
55
checkr3
9911
56
57
movs.w
[
r2+
],
r3
58
test_move_cc
1 0 0 0
59
checkr3 ffff9911
60
61
move.d mem1
,
r13
62
movs.
b
[
r13+
],
r3
63
test_move_cc
0 0 0 0
64
checkr3
78
65
66
movu.
b
[
r13
],
r3
67
test_move_cc
0 0 0 0
68
checkr3
56
69
70
movs.w
[
r13+
],
r3
71
test_move_cc
0 0 0 0
72
checkr3
3456
73
74
movu.w
[
r13+
],
r3
75
test_move_cc
0 0 0 0
76
checkr3
6712
77
78
quit