OpenCores
URL https://opencores.org/ocsvn/openrisc/openrisc/trunk

Subversion Repositories openrisc

[/] [openrisc/] [trunk/] [gnu-old/] [gdb-7.1/] [sim/] [testsuite/] [sim/] [frv/] [bnc.cgs] - Blame information for rev 834

Go to most recent revision | Details | Compare with Previous | View Log

Line No. Rev Author Line
1 227 jeremybenn
# 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

powered by: WebSVN 2.1.0

© copyright 1999-2024 OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.