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/] [bplr.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 bplr $ICCi,$hint
2
# mach: all
3
 
4
        .include "testutils.inc"
5
 
6
        start
7
 
8
        .global bplr
9
bplr:
10
        set_spr_addr    ok1,lr
11
        set_icc         0x0 0
12
        bplr            icc0,0
13
        fail
14
ok1:
15
        set_spr_addr    ok2,lr
16
        set_icc         0x1 1
17
        bplr            icc1,1
18
        fail
19
ok2:
20
        set_spr_addr    ok3,lr
21
        set_icc         0x2 2
22
        bplr            icc2,2
23
        fail
24
ok3:
25
        set_spr_addr    ok4,lr
26
        set_icc         0x3 3
27
        bplr            icc3,3
28
        fail
29
ok4:
30
        set_spr_addr    ok5,lr
31
        set_icc         0x4 0
32
        bplr            icc0,0
33
        fail
34
ok5:
35
        set_spr_addr    ok6,lr
36
        set_icc         0x5 1
37
        bplr            icc1,1
38
        fail
39
ok6:
40
        set_spr_addr    ok7,lr
41
        set_icc         0x6 2
42
        bplr            icc2,2
43
        fail
44
ok7:
45
        set_spr_addr    ok8,lr
46
        set_icc         0x7 3
47
        bplr            icc3,3
48
        fail
49
ok8:
50
        set_spr_addr    bad,lr
51
        set_icc         0x8 0
52
        bplr            icc0,0
53
 
54
        set_spr_addr    bad,lr
55
        set_icc         0x9 1
56
        bplr            icc1,1
57
 
58
        set_spr_addr    bad,lr
59
        set_icc         0xa 2
60
        bplr            icc2,2
61
 
62
        set_spr_addr    bad,lr
63
        set_icc         0xb 3
64
        bplr            icc3,3
65
 
66
        set_spr_addr    bad,lr
67
        set_icc         0xc 0
68
        bplr            icc0,0
69
 
70
        set_spr_addr    bad,lr
71
        set_icc         0xd 1
72
        bplr            icc1,1
73
 
74
        set_spr_addr    bad,lr
75
        set_icc         0xe 2
76
        bplr            icc2,2
77
 
78
        set_spr_addr    bad,lr
79
        set_icc         0xf 3
80
        bplr            icc3,3
81
 
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.