OpenCores
URL https://opencores.org/ocsvn/openrisc_2011-10-31/openrisc_2011-10-31/trunk

Subversion Repositories openrisc_2011-10-31

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

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

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