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
/
bc.cgs
blob
a5c612ccc9a09d0aac9cd60d2a5ed7ed604c0352
1
# frv testcase for bc $ICCi,$hint,$label16
2
# mach: all
3
4
.include "testutils.inc"
5
6
start
7
8
.global bc
9
bc:
10
set_icc 0x0 0
11
bc icc0,0,bad
12
set_icc 0x1 1
13
bc icc1,1,ok2
14
fail
15
ok2:
16
set_icc 0x2 2
17
bc icc2,2,bad
18
set_icc 0x3 3
19
bc icc3,3,ok4
20
fail
21
ok4:
22
set_icc 0x4 0
23
bc icc0,0,bad
24
set_icc 0x5 1
25
bc icc1,1,ok6
26
fail
27
ok6:
28
set_icc 0x6 2
29
bc icc2,2,bad
30
set_icc 0x7 3
31
bc icc3,3,ok8
32
fail
33
ok8:
34
set_icc 0x8 0
35
bc icc0,0,bad
36
set_icc 0x9 1
37
bc icc1,1,oka
38
fail
39
oka:
40
set_icc 0xa 2
41
bc icc2,2,bad
42
set_icc 0xb 3
43
bc icc3,3,okc
44
fail
45
okc:
46
set_icc 0xc 0
47
bc icc0,0,bad
48
set_icc 0xd 1
49
bc icc1,1,oke
50
fail
51
oke:
52
set_icc 0xe 2
53
bc icc2,2,bad
54
set_icc 0xf 3
55
bc icc3,3,okg
56
fail
57
okg:
58
59
pass
60
bad:
61
fail