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
RISC-V: Cleanup the imply code and test cases for vendor xsf extensions.
[binutils-gdb.git]
/
sim
/
testsuite
/
frv
/
bnc.cgs
blob
6f14e6cd550188d5df11a43b0569893fbc411f93
1
# frv testcase for bnc $ICCi,$hint,$label16
2
# mach: all
3
4
.include "testutils.inc"
5
6
start
7
8
.global bnc
9
bnc:
10
set_icc 0x0 0
11
bnc icc0,0,ok1
12
fail
13
ok1:
14
set_icc 0x1 1
15
bnc icc1,1,bad
16
set_icc 0x2 2
17
bnc icc2,2,ok3
18
fail
19
ok3:
20
set_icc 0x3 3
21
bnc icc3,3,bad
22
set_icc 0x4 0
23
bnc icc0,0,ok5
24
fail
25
ok5:
26
set_icc 0x5 1
27
bnc icc1,1,bad
28
set_icc 0x6 2
29
bnc icc2,2,ok7
30
fail
31
ok7:
32
set_icc 0x7 3
33
bnc icc3,3,bad
34
set_icc 0x8 0
35
bnc icc0,0,ok9
36
fail
37
ok9:
38
set_icc 0x9 1
39
bnc icc1,1,bad
40
set_icc 0xa 2
41
bnc icc2,2,okb
42
fail
43
okb:
44
set_icc 0xb 3
45
bnc icc3,3,bad
46
set_icc 0xc 0
47
bnc icc0,0,okd
48
fail
49
okd:
50
set_icc 0xd 1
51
bnc icc1,1,bad
52
set_icc 0xe 2
53
bnc icc2,2,okf
54
fail
55
okf:
56
set_icc 0xf 3
57
bnc icc3,3,bad
58
59
pass
60
bad:
61
fail