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

Subversion Repositories openrisc

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

Details | Compare with Previous | View Log

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