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

Subversion Repositories openrisc

[/] [openrisc/] [trunk/] [gnu-old/] [gdb-7.1/] [sim/] [testsuite/] [sim/] [frv/] [fbnelr.cgs] - Blame information for rev 842

Details | Compare with Previous | View Log

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

powered by: WebSVN 2.1.0

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