repo.or.cz
/
binutils-gdb.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
Automatic date update in version.in
[binutils-gdb.git]
/
sim
/
testsuite
/
frv
/
beqlr.cgs
blob
772b9faf197610d53e21e12c8c0d78bd5b49d1b2
1
# frv testcase for beqlr $ICCi,$hint
2
# mach: all
3
4
.include "testutils.inc"
5
6
start
7
8
.global beqlr
9
beqlr:
10
set_spr_addr bad,lr
11
set_icc 0x0 0
12
beqlr icc0,0
13
set_icc 0x1 1
14
beqlr icc1,1
15
set_icc 0x2 2
16
beqlr icc2,2
17
set_icc 0x3 3
18
beqlr icc3,3
19
set_spr_addr ok1,lr
20
set_icc 0x4 0
21
beqlr icc0,0
22
fail
23
ok1:
24
set_spr_addr ok2,lr
25
set_icc 0x5 1
26
beqlr icc1,1
27
fail
28
ok2:
29
set_spr_addr ok3,lr
30
set_icc 0x6 2
31
beqlr icc2,2
32
fail
33
ok3:
34
set_spr_addr ok4,lr
35
set_icc 0x7 3
36
beqlr icc3,3
37
fail
38
ok4:
39
set_spr_addr bad,lr
40
set_icc 0x8 0
41
beqlr icc0,0
42
set_icc 0x9 1
43
beqlr icc1,1
44
set_icc 0xa 2
45
beqlr icc2,2
46
set_icc 0xb 3
47
beqlr icc3,3
48
set_spr_addr ok5,lr
49
set_icc 0xc 0
50
beqlr icc0,0
51
fail
52
ok5:
53
set_spr_addr ok6,lr
54
set_icc 0xd 1
55
beqlr icc1,1
56
fail
57
ok6:
58
set_spr_addr ok7,lr
59
set_icc 0xe 2
60
beqlr icc2,2
61
fail
62
ok7:
63
set_spr_addr ok8,lr
64
set_icc 0xf 3
65
beqlr icc3,3
66
fail
67
ok8:
68
69
pass
70
bad:
71
fail