repo.or.cz
/
qemu
/
sh4.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
sh4/r2d: update pci, usb and kernel management
[qemu/sh4.git]
/
tests
/
cris
/
check_lapc.s
blob
9a6150b749eadc2f804ca251f9c154669f557724
1
# mach: crisv32
2
# output: 0\n0\nfffffffa\nfffffffe\nffffffda\n1e\n1e\n0\n
3
4
.include
"testutils.inc"
5
6
; To accommodate dumpr3 with more than one instruction
,
keep it
7
; out of lapc operand ranges
and
difference calculations.
8
9
start
10
lapc.d
0
f
,
r3
11
0
:
12
sub.
d
.,r3
13
checkr3
0
14
15
lapcq
0
f
,
r3
16
0
:
17
sub.
d
.,r3
18
checkr3
0
19
20
lapc.d
.,r3
21
sub.
d
.,r3
22
checkr3 fffffffa
23
24
lapcq
.,r3
25
sub.
d
.,r3
26
checkr3 fffffffe
27
28
0
:
29
.rept 16
30
nop
31
.endr
32
lapc.d
0
b
,
r3
33
sub.
d
.,r3
34
checkr3 ffffffda
35
36
setf zcvn
37
lapc.d
0
f
,
r3
38
test_cc
1 1 1 1
39
sub.
d
.,r3
40
nop
41
nop
42
nop
43
nop
44
nop
45
nop
46
nop
47
nop
48
nop
49
nop
50
nop
51
nop
52
0
:
53
checkr3
1
e
54
0
:
55
lapcq
0
f
,
r3
56
sub.
d
0
b
,
r3
57
nop
58
nop
59
nop
60
nop
61
nop
62
nop
63
nop
64
nop
65
nop
66
nop
67
nop
68
0
:
69
checkr3
1
e
70
clearf cn
71
setf zv
72
1
:
73
lapcq
.,r3
74
test_cc
0 1 1 0
75
sub.
d
1
b
,
r3
76
checkr3
0
77
78
quit