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

Subversion Repositories openrisc

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

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

Line No. Rev Author Line
1 227 jeremybenn
# frv testcase for nfdsads $FRi,$FRj,$FRk
2
# mach: fr500 fr550 frv
3
 
4
        .include "testutils.inc"
5
 
6
        float_constants
7
        start
8
        load_float_constants
9
        load_float_constants1
10
 
11
        .global nfdsads
12
nfdsads:
13
        nfdsads         fr16,fr0,fr2
14
        test_fr_fr      fr2,fr0
15
        test_fr_fr      fr3,fr52
16
        test_spr_immed  0,fner1
17
        test_spr_immed  0,fner0
18
        nfdsads         fr16,fr4,fr2
19
        test_fr_fr      fr2,fr4
20
        test_fr_fr      fr3,fr48
21
        test_spr_immed  0,fner1
22
        test_spr_immed  0,fner0
23
        nfdsads         fr16,fr8,fr2
24
        test_fr_fr      fr2,fr8
25
        test_fr_fr      fr3,fr28
26
        test_spr_immed  0,fner1
27
        test_spr_immed  0,fner0
28
        nfdsads         fr16,fr12,fr2
29
        test_fr_fr      fr2,fr12
30
        test_fr_fr      fr3,fr24
31
        test_spr_immed  0,fner1
32
        test_spr_immed  0,fner0
33
        nfdsads         fr16,fr16,fr2
34
        test_fr_fr      fr2,fr16
35
        test_fr_fr      fr2,fr20
36
        test_fr_fr      fr3,fr16
37
        test_fr_fr      fr3,fr20
38
        test_spr_immed  0,fner1
39
        test_spr_immed  0,fner0
40
        nfdsads         fr16,fr20,fr2
41
        test_fr_fr      fr2,fr16
42
        test_fr_fr      fr2,fr20
43
        test_fr_fr      fr3,fr16
44
        test_fr_fr      fr3,fr20
45
        test_spr_immed  0,fner1
46
        test_spr_immed  0,fner0
47
        nfdsads         fr16,fr24,fr2
48
        test_fr_fr      fr2,fr24
49
        test_fr_fr      fr3,fr12
50
        test_spr_immed  0,fner1
51
        test_spr_immed  0,fner0
52
        nfdsads         fr16,fr28,fr2
53
        test_fr_fr      fr2,fr28
54
        test_fr_fr      fr3,fr8
55
        test_spr_immed  0,fner1
56
        test_spr_immed  0,fner0
57
        nfdsads         fr16,fr32,fr2
58
        test_fr_fr      fr2,fr32
59
        test_spr_immed  0,fner1
60
        test_spr_immed  0,fner0
61
        nfdsads         fr16,fr36,fr2
62
        test_fr_fr      fr2,fr36
63
        test_spr_immed  0,fner1
64
        test_spr_immed  0,fner0
65
        nfdsads         fr16,fr40,fr2
66
        test_fr_fr      fr2,fr40
67
        test_spr_immed  0,fner1
68
        test_spr_immed  0,fner0
69
        nfdsads         fr16,fr44,fr2
70
        test_fr_fr      fr2,fr44
71
        test_spr_immed  0,fner1
72
        test_spr_immed  0,fner0
73
        nfdsads         fr16,fr48,fr2
74
        test_fr_fr      fr2,fr48
75
        test_fr_fr      fr3,fr4
76
        test_spr_immed  0,fner1
77
        test_spr_immed  0,fner0
78
        nfdsads         fr16,fr52,fr2
79
        test_fr_fr      fr2,fr52
80
        test_fr_fr      fr3,fr0
81
        test_spr_immed  0,fner1
82
        test_spr_immed  0,fner0
83
 
84
        nfdsads         fr20,fr0,fr2
85
        test_fr_fr      fr2,fr0
86
        test_fr_fr      fr3,fr52
87
        test_spr_immed  0,fner1
88
        test_spr_immed  0,fner0
89
        nfdsads         fr20,fr4,fr2
90
        test_fr_fr      fr2,fr4
91
        test_fr_fr      fr3,fr48
92
        test_spr_immed  0,fner1
93
        test_spr_immed  0,fner0
94
        nfdsads         fr20,fr8,fr2
95
        test_fr_fr      fr2,fr8
96
        test_fr_fr      fr3,fr28
97
        test_spr_immed  0,fner1
98
        test_spr_immed  0,fner0
99
        nfdsads         fr20,fr12,fr2
100
        test_fr_fr      fr2,fr12
101
        test_fr_fr      fr3,fr24
102
        test_spr_immed  0,fner1
103
        test_spr_immed  0,fner0
104
        nfdsads         fr20,fr16,fr2
105
        test_fr_fr      fr2,fr16
106
        test_fr_fr      fr2,fr20
107
        test_fr_fr      fr3,fr16
108
        test_fr_fr      fr3,fr20
109
        test_spr_immed  0,fner1
110
        test_spr_immed  0,fner0
111
        nfdsads         fr20,fr20,fr2
112
        test_fr_fr      fr2,fr16
113
        test_fr_fr      fr2,fr20
114
        test_fr_fr      fr3,fr16
115
        test_fr_fr      fr3,fr20
116
        test_spr_immed  0,fner1
117
        test_spr_immed  0,fner0
118
        nfdsads         fr20,fr24,fr2
119
        test_fr_fr      fr2,fr24
120
        test_fr_fr      fr3,fr12
121
        test_spr_immed  0,fner1
122
        test_spr_immed  0,fner0
123
        nfdsads         fr20,fr28,fr2
124
        test_fr_fr      fr2,fr28
125
        test_fr_fr      fr3,fr8
126
        test_spr_immed  0,fner1
127
        test_spr_immed  0,fner0
128
        nfdsads         fr20,fr32,fr2
129
        test_fr_fr      fr2,fr32
130
        test_spr_immed  0,fner1
131
        test_spr_immed  0,fner0
132
        nfdsads         fr20,fr36,fr2
133
        test_fr_fr      fr2,fr36
134
        test_spr_immed  0,fner1
135
        test_spr_immed  0,fner0
136
        nfdsads         fr20,fr40,fr2
137
        test_fr_fr      fr2,fr40
138
        test_spr_immed  0,fner1
139
        test_spr_immed  0,fner0
140
        nfdsads         fr20,fr44,fr2
141
        test_fr_fr      fr2,fr44
142
        test_spr_immed  0,fner1
143
        test_spr_immed  0,fner0
144
        nfdsads         fr20,fr48,fr2
145
        test_fr_fr      fr2,fr48
146
        test_fr_fr      fr3,fr4
147
        test_spr_immed  0,fner1
148
        test_spr_immed  0,fner0
149
        nfdsads         fr20,fr52,fr2
150
        test_fr_fr      fr2,fr52
151
        test_fr_fr      fr3,fr0
152
        test_spr_immed  0,fner1
153
        test_spr_immed  0,fner0
154
 
155
        nfdsads         fr8,fr28,fr2
156
        test_fr_fr      fr2,fr16
157
        test_fr_fr      fr2,fr20
158
        test_spr_immed  0,fner1
159
        test_spr_immed  0,fner0
160
        nfdsads         fr12,fr24,fr2
161
        test_fr_fr      fr2,fr16
162
        test_fr_fr      fr2,fr20
163
        test_spr_immed  0,fner1
164
        test_spr_immed  0,fner0
165
        nfdsads         fr24,fr12,fr2
166
        test_fr_fr      fr2,fr16
167
        test_fr_fr      fr2,fr20
168
        test_spr_immed  0,fner1
169
        test_spr_immed  0,fner0
170
        nfdsads         fr28,fr8,fr2
171
        test_fr_fr      fr2,fr16
172
        test_fr_fr      fr2,fr20
173
        test_fr_fr      fr3,fr32
174
        test_fr_fr      fr3,fr32
175
        test_spr_immed  0,fner1
176
        test_spr_immed  0,fner0
177
 
178
        nfdsads         fr36,fr40,fr2
179
        test_fr_fr      fr2,fr44
180
        test_spr_immed  0,fner1
181
        test_spr_immed  0,fner0
182
 
183
        ; try to cause exceptions
184
        set_fr_fr       fr4,fr49
185
        nfdsads         fr48,fr28,fr2
186
;       test_fr_fr      fr2,fr44
187
;       test_fr_fr      fr3,fr44
188
        test_spr_immed  0,fner1
189
        test_spr_immed  0,fner0
190
 
191
        set_fr_fr       fr0,fr53
192
        nfdsads         fr52,fr28,fr2
193
;       test_fr_fr      fr2,fr44
194
;       test_fr_fr      fr3,fr44
195
        test_spr_immed  0,fner1
196
        test_spr_immed  0,fner0
197
 
198
        nfdsads         fr56,fr28,fr2
199
;       test_fr_fr      fr2,fr44
200
;       test_fr_fr      fr3,fr44
201
        test_spr_immed  0,fner1
202
        test_spr_immed  0,fner0
203
 
204
        nfdsads         fr60,fr28,fr2
205
;       test_fr_fr      fr2,fr44
206
;       test_fr_fr      fr3,fr44
207
        test_spr_immed  0xc,fner1
208
        test_spr_immed  0,fner0
209
 
210
        pass
211
 
212
 

powered by: WebSVN 2.1.0

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