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

Subversion Repositories openrisc_me

[/] [openrisc/] [trunk/] [gnu-src/] [gdb-6.8/] [sim/] [testsuite/] [sim/] [frv/] [bnlr.cgs] - Blame information for rev 438

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

Line No. Rev Author Line
1 24 jeremybenn
# frv testcase for bnlr $ICCi,$hint
2
# mach: all
3
 
4
        .include "testutils.inc"
5
 
6
        start
7
 
8
        .global bnlr
9
bnlr:
10
        set_spr_addr    bad,lr
11
        set_icc         0x0 0
12
        bnlr            icc0,0
13
 
14
        set_spr_addr    bad,lr
15
        set_icc         0x1 1
16
        bnlr            icc1,1
17
 
18
        set_spr_addr    bad,lr
19
        set_icc         0x2 2
20
        bnlr            icc2,2
21
 
22
        set_spr_addr    bad,lr
23
        set_icc         0x3 3
24
        bnlr            icc3,3
25
 
26
        set_spr_addr    bad,lr
27
        set_icc         0x4 0
28
        bnlr            icc0,0
29
 
30
        set_spr_addr    bad,lr
31
        set_icc         0x5 1
32
        bnlr            icc1,1
33
 
34
        set_spr_addr    bad,lr
35
        set_icc         0x6 2
36
        bnlr            icc2,2
37
 
38
        set_spr_addr    bad,lr
39
        set_icc         0x7 3
40
        bnlr            icc3,3
41
 
42
        set_spr_addr    ok9,lr
43
        set_icc         0x8 0
44
        bnlr            icc0,0
45
        fail
46
ok9:
47
        set_spr_addr    oka,lr
48
        set_icc         0x9 1
49
        bnlr            icc1,1
50
        fail
51
oka:
52
        set_spr_addr    okb,lr
53
        set_icc         0xa 2
54
        bnlr            icc2,2
55
        fail
56
okb:
57
        set_spr_addr    okc,lr
58
        set_icc         0xb 3
59
        bnlr            icc3,3
60
        fail
61
okc:
62
        set_spr_addr    okd,lr
63
        set_icc         0xc 0
64
        bnlr            icc0,0
65
        fail
66
okd:
67
        set_spr_addr    oke,lr
68
        set_icc         0xd 1
69
        bnlr            icc1,1
70
        fail
71
oke:
72
        set_spr_addr    okf,lr
73
        set_icc         0xe 2
74
        bnlr            icc2,2
75
        fail
76
okf:
77
        set_spr_addr    okg,lr
78
        set_icc         0xf 3
79
        bnlr            icc3,3
80
        fail
81
okg:
82
        pass
83
bad:
84
        fail

powered by: WebSVN 2.1.0

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