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

Subversion Repositories openrisc_me

[/] [openrisc/] [trunk/] [gnu-src/] [gdb-7.1/] [sim/] [testsuite/] [sim/] [frv/] [bgelr.cgs] - Blame information for rev 227

Details | Compare with Previous | View Log

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