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/] [bnvlr.cgs] - Blame information for rev 157

Details | Compare with Previous | View Log

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