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