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

Subversion Repositories openrisc

[/] [openrisc/] [trunk/] [gnu-old/] [gdb-6.8/] [sim/] [testsuite/] [sim/] [frv/] [bralr.cgs] - Blame information for rev 840

Details | Compare with Previous | View Log

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

powered by: WebSVN 2.1.0

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