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

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

Line No. Rev Author Line
1 24 jeremybenn
# frv testcase for cldf @($GRi,$GRj),$GRk,$CCi,$cond
2
# mach: all
3
 
4
        .include "testutils.inc"
5
 
6
        start
7
 
8
        .global cldf
9
cldf:
10
        set_spr_immed   0x1b1b,cccr
11
 
12
        set_mem_limmed  0xdead,0xbeef,sp
13
        set_fr_iimmed   0xbeef,0xdead,fr8
14
 
15
        set_gr_immed    0,gr7
16
        cldf            @(sp,gr7),fr8,cc0,1
17
        test_fr_limmed  0xdead,0xbeef,fr8
18
 
19
        set_fr_iimmed   0xbeef,0xdead,fr8
20
        inc_gr_immed    -4,sp
21
        set_gr_immed    4,gr7
22
        cldf            @(sp,gr7),fr8,cc0,1
23
        test_fr_limmed  0xdead,0xbeef,fr8
24
 
25
        set_fr_iimmed   0xbeef,0xdead,fr8
26
        inc_gr_immed    8,sp
27
        set_gr_immed    -4,gr7
28
        cldf            @(sp,gr7),fr8,cc4,1
29
        test_fr_limmed  0xdead,0xbeef,fr8
30
 
31
        set_mem_limmed  0xdead,0xbeef,sp
32
        set_fr_iimmed   0xbeef,0xdead,fr8
33
 
34
        set_gr_immed    0,gr7
35
        cldf            @(sp,gr7),fr8,cc0,0
36
        test_fr_limmed  0xbeef,0xdead,fr8
37
 
38
        set_fr_iimmed   0xbeef,0xdead,fr8
39
        inc_gr_immed    -4,sp
40
        set_gr_immed    4,gr7
41
        cldf            @(sp,gr7),fr8,cc0,0
42
        test_fr_limmed  0xbeef,0xdead,fr8
43
 
44
        set_fr_iimmed   0xbeef,0xdead,fr8
45
        inc_gr_immed    8,sp
46
        set_gr_immed    -4,gr7
47
        cldf            @(sp,gr7),fr8,cc4,0
48
        test_fr_limmed  0xbeef,0xdead,fr8
49
 
50
        set_mem_limmed  0xdead,0xbeef,sp
51
        set_fr_iimmed   0xbeef,0xdead,fr8
52
 
53
        set_gr_immed    0,gr7
54
        cldf            @(sp,gr7),fr8,cc1,0
55
        test_fr_limmed  0xdead,0xbeef,fr8
56
 
57
        set_fr_iimmed   0xbeef,0xdead,fr8
58
        inc_gr_immed    -4,sp
59
        set_gr_immed    4,gr7
60
        cldf            @(sp,gr7),fr8,cc1,0
61
        test_fr_limmed  0xdead,0xbeef,fr8
62
 
63
        set_fr_iimmed   0xbeef,0xdead,fr8
64
        inc_gr_immed    8,sp
65
        set_gr_immed    -4,gr7
66
        cldf            @(sp,gr7),fr8,cc5,0
67
        test_fr_limmed  0xdead,0xbeef,fr8
68
 
69
        set_mem_limmed  0xdead,0xbeef,sp
70
        set_fr_iimmed   0xbeef,0xdead,fr8
71
 
72
        set_gr_immed    0,gr7
73
        cldf            @(sp,gr7),fr8,cc1,1
74
        test_fr_limmed  0xbeef,0xdead,fr8
75
 
76
        set_fr_iimmed   0xbeef,0xdead,fr8
77
        inc_gr_immed    -4,sp
78
        set_gr_immed    4,gr7
79
        cldf            @(sp,gr7),fr8,cc1,1
80
        test_fr_limmed  0xbeef,0xdead,fr8
81
 
82
        set_fr_iimmed   0xbeef,0xdead,fr8
83
        inc_gr_immed    8,sp
84
        set_gr_immed    -4,gr7
85
        cldf            @(sp,gr7),fr8,cc5,1
86
        test_fr_limmed  0xbeef,0xdead,fr8
87
 
88
        set_mem_limmed  0xdead,0xbeef,sp
89
        set_fr_iimmed   0xbeef,0xdead,fr8
90
 
91
        set_gr_immed    0,gr7
92
        cldf            @(sp,gr7),fr8,cc2,0
93
        test_fr_limmed  0xbeef,0xdead,fr8
94
 
95
        set_fr_iimmed   0xbeef,0xdead,fr8
96
        inc_gr_immed    -4,sp
97
        set_gr_immed    4,gr7
98
        cldf            @(sp,gr7),fr8,cc2,1
99
        test_fr_limmed  0xbeef,0xdead,fr8
100
 
101
        set_fr_iimmed   0xbeef,0xdead,fr8
102
        inc_gr_immed    8,sp
103
        set_gr_immed    -4,gr7
104
        cldf            @(sp,gr7),fr8,cc6,0
105
        test_fr_limmed  0xbeef,0xdead,fr8
106
 
107
        set_mem_limmed  0xdead,0xbeef,sp
108
        set_fr_iimmed   0xbeef,0xdead,fr8
109
 
110
        set_gr_immed    0,gr7
111
        cldf            @(sp,gr7),fr8,cc3,1
112
        test_fr_limmed  0xbeef,0xdead,fr8
113
 
114
        set_fr_iimmed   0xbeef,0xdead,fr8
115
        inc_gr_immed    -4,sp
116
        set_gr_immed    4,gr7
117
        cldf            @(sp,gr7),fr8,cc3,0
118
        test_fr_limmed  0xbeef,0xdead,fr8
119
 
120
        set_fr_iimmed   0xbeef,0xdead,fr8
121
        inc_gr_immed    8,sp
122
        set_gr_immed    -4,gr7
123
        cldf            @(sp,gr7),fr8,cc7,1
124
        test_fr_limmed  0xbeef,0xdead,fr8
125
 
126
        pass

powered by: WebSVN 2.1.0

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