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

Subversion Repositories openrisc

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

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

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

powered by: WebSVN 2.1.0

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