repo.or.cz
/
qemu
/
cris-port.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
uapi/virtio_scsi: allow overriding CDB/SENSE size
[qemu/cris-port.git]
/
tests
/
tcg
/
cris
/
check_moverm.s
blob
eabc9588d4241a96ecdd88114654631db5984411
1
# mach: crisv3 crisv8 crisv10 crisv32
2
# output: 7823fec2\n10231879\n102318fe\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
0x7823fec2
,
r4
20
setf nzvc
21
move.d
r4
,[
r2+
]
22
test_cc
1 1 1 1
23
subq
4
,
r2
24
move.d
[
r2
],
r3
25
checkr3
7823
fec2
26
27
move.d mem2
,
r3
28
move.d
0x45231879
,
r4
29
clearf nzvc
30
move.w
r4
,[
r3
]
31
test_cc
0 0 0 0
32
move.d
[
r3
],
r3
33
checkr3
10231879
34
35
move.d mem2
,
r2
36
moveq
-
2
,
r4
37
clearf nc
38
setf zv
39
move.
b
r4
,[
r2+
]
40
test_cc
0 1 1 0
41
subq
1
,
r2
42
move.d
[
r2
],
r3
43
checkr3
102318
fe
44
45
quit