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

Subversion Repositories openrisc

[/] [openrisc/] [trunk/] [gnu-old/] [gdb-6.8/] [sim/] [testsuite/] [sim/] [frv/] [fbuelr.cgs] - Blame information for rev 157

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

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

powered by: WebSVN 2.1.0

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