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