OpenCores
URL https://opencores.org/ocsvn/openrisc_2011-10-31/openrisc_2011-10-31/trunk

Subversion Repositories openrisc_2011-10-31

[/] [openrisc/] [trunk/] [gnu-src/] [gdb-6.8/] [sim/] [testsuite/] [sim/] [frv/] [cstdf.cgs] - Blame information for rev 272

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

Line No. Rev Author Line
1 24 jeremybenn
# frv testcase for cstdf $GRk,@($GRi,$GRj),$CCi,$cond
2
# mach: all
3
 
4
        .include "testutils.inc"
5
 
6
        start
7
 
8
        .global cstdf
9
cstdf:
10
        set_spr_immed   0x1b1b,cccr
11
        set_gr_gr       sp,gr20
12
 
13
        set_mem_limmed  0xbeef,0xdead,sp
14
        inc_gr_immed    -4,sp
15
        set_mem_limmed  0xdead,0xbeef,sp
16
        set_gr_gr       sp,gr21
17
 
18
        set_gr_immed    0,gr7
19
        set_fr_iimmed   0xbeef,0xdead,fr8
20
        set_fr_iimmed   0xdead,0xbeef,fr9
21
        cstdf           fr8,@(sp,gr7),cc0,1
22
        set_gr_gr       gr21,gr22
23
        test_mem_limmed 0xbeef,0xdead,gr22
24
        inc_gr_immed    4,gr22
25
        test_mem_limmed 0xdead,0xbeef,gr22
26
 
27
        inc_gr_immed    -8,sp
28
        set_gr_immed    8,gr7
29
        set_fr_iimmed   0xaaaa,0xaaaa,fr8
30
        set_fr_iimmed   0xbbbb,0xbbbb,fr9
31
        cstdf           fr8,@(sp,gr7),cc0,1
32
        set_gr_gr       gr21,gr22
33
        test_mem_limmed 0xaaaa,0xaaaa,gr22
34
        inc_gr_immed    4,gr22
35
        test_mem_limmed 0xbbbb,0xbbbb,gr22
36
 
37
        inc_gr_immed    16,sp
38
        set_gr_immed    -8,gr7
39
        set_fr_iimmed   0xcccc,0xcccc,fr8
40
        set_fr_iimmed   0xdddd,0xdddd,fr9
41
        cstdf           fr8,@(sp,gr7),cc4,1
42
        set_gr_gr       gr21,gr22
43
        test_mem_limmed 0xcccc,0xcccc,gr22
44
        inc_gr_immed    4,gr22
45
        test_mem_limmed 0xdddd,0xdddd,gr22
46
 
47
        set_gr_gr       gr20,sp
48
        set_mem_limmed  0xbeef,0xdead,sp
49
        inc_gr_immed    -4,sp
50
        set_mem_limmed  0xdead,0xbeef,sp
51
        set_gr_gr       sp,gr21
52
 
53
        set_gr_immed    0,gr7
54
        set_fr_iimmed   0xbeef,0xdead,fr8
55
        set_fr_iimmed   0xdead,0xbeef,fr9
56
        cstdf           fr8,@(sp,gr7),cc0,0
57
        set_gr_gr       gr21,gr22
58
        test_mem_limmed 0xdead,0xbeef,gr22
59
        inc_gr_immed    4,gr22
60
        test_mem_limmed 0xbeef,0xdead,gr22
61
 
62
        inc_gr_immed    -8,sp
63
        set_gr_immed    8,gr7
64
        set_fr_iimmed   0xaaaa,0xaaaa,fr8
65
        set_fr_iimmed   0xbbbb,0xbbbb,fr9
66
        cstdf           fr8,@(sp,gr7),cc0,0
67
        set_gr_gr       gr21,gr22
68
        test_mem_limmed 0xdead,0xbeef,gr22
69
        inc_gr_immed    4,gr22
70
        test_mem_limmed 0xbeef,0xdead,gr22
71
 
72
        inc_gr_immed    16,sp
73
        set_gr_immed    -8,gr7
74
        set_fr_iimmed   0xcccc,0xcccc,fr8
75
        set_fr_iimmed   0xdddd,0xdddd,fr9
76
        cstdf           fr8,@(sp,gr7),cc4,0
77
        set_gr_gr       gr21,gr22
78
        test_mem_limmed 0xdead,0xbeef,gr22
79
        inc_gr_immed    4,gr22
80
        test_mem_limmed 0xbeef,0xdead,gr22
81
 
82
        set_gr_gr       gr20,sp
83
        set_mem_limmed  0xbeef,0xdead,sp
84
        inc_gr_immed    -4,sp
85
        set_mem_limmed  0xdead,0xbeef,sp
86
        set_gr_gr       sp,gr21
87
 
88
        set_gr_immed    0,gr7
89
        set_fr_iimmed   0xbeef,0xdead,fr8
90
        set_fr_iimmed   0xdead,0xbeef,fr9
91
        cstdf           fr8,@(sp,gr7),cc1,0
92
        set_gr_gr       gr21,gr22
93
        test_mem_limmed 0xbeef,0xdead,gr22
94
        inc_gr_immed    4,gr22
95
        test_mem_limmed 0xdead,0xbeef,gr22
96
 
97
        inc_gr_immed    -8,sp
98
        set_gr_immed    8,gr7
99
        set_fr_iimmed   0xaaaa,0xaaaa,fr8
100
        set_fr_iimmed   0xbbbb,0xbbbb,fr9
101
        cstdf           fr8,@(sp,gr7),cc1,0
102
        set_gr_gr       gr21,gr22
103
        test_mem_limmed 0xaaaa,0xaaaa,gr22
104
        inc_gr_immed    4,gr22
105
        test_mem_limmed 0xbbbb,0xbbbb,gr22
106
 
107
        inc_gr_immed    16,sp
108
        set_gr_immed    -8,gr7
109
        set_fr_iimmed   0xcccc,0xcccc,fr8
110
        set_fr_iimmed   0xdddd,0xdddd,fr9
111
        cstdf           fr8,@(sp,gr7),cc5,0
112
        set_gr_gr       gr21,gr22
113
        test_mem_limmed 0xcccc,0xcccc,gr22
114
        inc_gr_immed    4,gr22
115
        test_mem_limmed 0xdddd,0xdddd,gr22
116
 
117
        set_gr_gr       gr20,sp
118
        set_mem_limmed  0xbeef,0xdead,sp
119
        inc_gr_immed    -4,sp
120
        set_mem_limmed  0xdead,0xbeef,sp
121
        set_gr_gr       sp,gr21
122
 
123
        set_gr_immed    0,gr7
124
        set_fr_iimmed   0xbeef,0xdead,fr8
125
        set_fr_iimmed   0xdead,0xbeef,fr9
126
        cstdf           fr8,@(sp,gr7),cc1,1
127
        set_gr_gr       gr21,gr22
128
        test_mem_limmed 0xdead,0xbeef,gr22
129
        inc_gr_immed    4,gr22
130
        test_mem_limmed 0xbeef,0xdead,gr22
131
 
132
        inc_gr_immed    -8,sp
133
        set_gr_immed    8,gr7
134
        set_fr_iimmed   0xaaaa,0xaaaa,fr8
135
        set_fr_iimmed   0xbbbb,0xbbbb,fr9
136
        cstdf           fr8,@(sp,gr7),cc1,1
137
        set_gr_gr       gr21,gr22
138
        test_mem_limmed 0xdead,0xbeef,gr22
139
        inc_gr_immed    4,gr22
140
        test_mem_limmed 0xbeef,0xdead,gr22
141
 
142
        inc_gr_immed    16,sp
143
        set_gr_immed    -8,gr7
144
        set_fr_iimmed   0xcccc,0xcccc,fr8
145
        set_fr_iimmed   0xdddd,0xdddd,fr9
146
        cstdf           fr8,@(sp,gr7),cc5,1
147
        set_gr_gr       gr21,gr22
148
        test_mem_limmed 0xdead,0xbeef,gr22
149
        inc_gr_immed    4,gr22
150
        test_mem_limmed 0xbeef,0xdead,gr22
151
 
152
        set_gr_gr       gr20,sp
153
        set_mem_limmed  0xbeef,0xdead,sp
154
        inc_gr_immed    -4,sp
155
        set_mem_limmed  0xdead,0xbeef,sp
156
        set_gr_gr       sp,gr21
157
 
158
        set_gr_immed    0,gr7
159
        set_fr_iimmed   0xbeef,0xdead,fr8
160
        set_fr_iimmed   0xdead,0xbeef,fr9
161
        cstdf           fr8,@(sp,gr7),cc2,0
162
        set_gr_gr       gr21,gr22
163
        test_mem_limmed 0xdead,0xbeef,gr22
164
        inc_gr_immed    4,gr22
165
        test_mem_limmed 0xbeef,0xdead,gr22
166
 
167
        inc_gr_immed    -8,sp
168
        set_gr_immed    8,gr7
169
        set_fr_iimmed   0xaaaa,0xaaaa,fr8
170
        set_fr_iimmed   0xbbbb,0xbbbb,fr9
171
        cstdf           fr8,@(sp,gr7),cc2,1
172
        set_gr_gr       gr21,gr22
173
        test_mem_limmed 0xdead,0xbeef,gr22
174
        inc_gr_immed    4,gr22
175
        test_mem_limmed 0xbeef,0xdead,gr22
176
 
177
        inc_gr_immed    16,sp
178
        set_gr_immed    -8,gr7
179
        set_fr_iimmed   0xcccc,0xcccc,fr8
180
        set_fr_iimmed   0xdddd,0xdddd,fr9
181
        cstdf           fr8,@(sp,gr7),cc6,0
182
        set_gr_gr       gr21,gr22
183
        test_mem_limmed 0xdead,0xbeef,gr22
184
        inc_gr_immed    4,gr22
185
        test_mem_limmed 0xbeef,0xdead,gr22
186
 
187
        set_gr_gr       gr20,sp
188
        set_mem_limmed  0xbeef,0xdead,sp
189
        inc_gr_immed    -4,sp
190
        set_mem_limmed  0xdead,0xbeef,sp
191
        set_gr_gr       sp,gr21
192
 
193
        set_gr_immed    0,gr7
194
        set_fr_iimmed   0xbeef,0xdead,fr8
195
        set_fr_iimmed   0xdead,0xbeef,fr9
196
        cstdf           fr8,@(sp,gr7),cc3,1
197
        set_gr_gr       gr21,gr22
198
        test_mem_limmed 0xdead,0xbeef,gr22
199
        inc_gr_immed    4,gr22
200
        test_mem_limmed 0xbeef,0xdead,gr22
201
 
202
        inc_gr_immed    -8,sp
203
        set_gr_immed    8,gr7
204
        set_fr_iimmed   0xaaaa,0xaaaa,fr8
205
        set_fr_iimmed   0xbbbb,0xbbbb,fr9
206
        cstdf           fr8,@(sp,gr7),cc3,0
207
        set_gr_gr       gr21,gr22
208
        test_mem_limmed 0xdead,0xbeef,gr22
209
        inc_gr_immed    4,gr22
210
        test_mem_limmed 0xbeef,0xdead,gr22
211
 
212
        inc_gr_immed    16,sp
213
        set_gr_immed    -8,gr7
214
        set_fr_iimmed   0xcccc,0xcccc,fr8
215
        set_fr_iimmed   0xdddd,0xdddd,fr9
216
        cstdf           fr8,@(sp,gr7),cc7,1
217
        set_gr_gr       gr21,gr22
218
        test_mem_limmed 0xdead,0xbeef,gr22
219
        inc_gr_immed    4,gr22
220
        test_mem_limmed 0xbeef,0xdead,gr22
221
 
222
        pass

powered by: WebSVN 2.1.0

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