Automatic date update in version.in
[binutils-gdb.git] / sim / testsuite / frv / fmad.cgs
blob64fee9c56ea2b1bb83e66ab81afaed1c20910809
1 # frv testcase for fmad $FRi,$FRj,$FRk
2 # mach: frv
4         .include "testutils.inc"
6         float_constants
7         start
8         load_float_constants
9         load_float_constants1
11         .global fmad
12 fmad:
13         fmad            fr16,fr4,fr2
14         test_fr_fr      fr2,fr16
15         test_fr_fr      fr2,fr20
16         test_fr_fr      fr3,fr4
17         fmad            fr16,fr8,fr2
18         test_fr_fr      fr2,fr16
19         test_fr_fr      fr2,fr20
20         test_fr_fr      fr3,fr8
21         fmad            fr16,fr12,fr2
22         test_fr_fr      fr2,fr16
23         test_fr_fr      fr2,fr20
24         test_fr_fr      fr3,fr12
25         fmad            fr16,fr16,fr2
26         test_fr_fr      fr2,fr16
27         test_fr_fr      fr2,fr20
28         test_fr_fr      fr3,fr16
29         test_fr_fr      fr3,fr20
30         fmad            fr16,fr20,fr2
31         test_fr_fr      fr2,fr16
32         test_fr_fr      fr2,fr20
33         test_fr_fr      fr3,fr16
34         test_fr_fr      fr3,fr20
35         fmad            fr16,fr24,fr2
36         test_fr_fr      fr2,fr16
37         test_fr_fr      fr2,fr20
38         test_fr_fr      fr3,fr24
39         fmad            fr16,fr28,fr2
40         test_fr_fr      fr2,fr16
41         test_fr_fr      fr2,fr20
42         test_fr_fr      fr3,fr28
43         fmad            fr16,fr32,fr2
44         test_fr_fr      fr2,fr16
45         test_fr_fr      fr2,fr20
46         test_fr_fr      fr3,fr32
47         fmad            fr16,fr36,fr2
48         test_fr_fr      fr2,fr16
49         test_fr_fr      fr2,fr20
50         test_fr_fr      fr3,fr36
51         fmad            fr16,fr40,fr2
52         test_fr_fr      fr2,fr16
53         test_fr_fr      fr2,fr20
54         test_fr_fr      fr3,fr40
55         fmad            fr16,fr44,fr2
56         test_fr_fr      fr2,fr16
57         test_fr_fr      fr2,fr20
58         test_fr_fr      fr3,fr44
59         fmad            fr16,fr48,fr2
60         test_fr_fr      fr2,fr16
61         test_fr_fr      fr2,fr20
62         test_fr_fr      fr3,fr48
64         fmad            fr20,fr4,fr2
65         test_fr_fr      fr2,fr16
66         test_fr_fr      fr2,fr20
67         test_fr_fr      fr3,fr4
68         fmad            fr20,fr8,fr2
69         test_fr_fr      fr2,fr16
70         test_fr_fr      fr2,fr20
71         test_fr_fr      fr3,fr8
72         fmad            fr20,fr12,fr2
73         test_fr_fr      fr2,fr16
74         test_fr_fr      fr2,fr20
75         test_fr_fr      fr3,fr12
76         fmad            fr20,fr16,fr2
77         test_fr_fr      fr2,fr16
78         test_fr_fr      fr2,fr20
79         test_fr_fr      fr3,fr16
80         test_fr_fr      fr3,fr20
81         fmad            fr20,fr20,fr2
82         test_fr_fr      fr2,fr16
83         test_fr_fr      fr2,fr20
84         test_fr_fr      fr3,fr16
85         test_fr_fr      fr3,fr20
86         fmad            fr20,fr24,fr2
87         test_fr_fr      fr2,fr16
88         test_fr_fr      fr2,fr20
89         test_fr_fr      fr3,fr24
90         fmad            fr20,fr28,fr2
91         test_fr_fr      fr2,fr16
92         test_fr_fr      fr2,fr20
93         test_fr_fr      fr3,fr28
94         fmad            fr20,fr32,fr2
95         test_fr_fr      fr2,fr16
96         test_fr_fr      fr2,fr20
97         test_fr_fr      fr3,fr32
98         fmad            fr20,fr36,fr2
99         test_fr_fr      fr2,fr16
100         test_fr_fr      fr2,fr20
101         test_fr_fr      fr3,fr36
102         fmad            fr20,fr40,fr2
103         test_fr_fr      fr2,fr16
104         test_fr_fr      fr2,fr20
105         test_fr_fr      fr3,fr40
106         fmad            fr20,fr44,fr2
107         test_fr_fr      fr2,fr16
108         test_fr_fr      fr2,fr20
109         test_fr_fr      fr3,fr44
110         fmad            fr20,fr48,fr2
111         test_fr_fr      fr2,fr16
112         test_fr_fr      fr2,fr20
113         test_fr_fr      fr3,fr48
115         fmad            fr28,fr0,fr2
116         test_fr_fr      fr2,fr0
117         fmad            fr28,fr4,fr2
118         test_fr_fr      fr2,fr4
119         fmad            fr28,fr8,fr2
120         test_fr_fr      fr2,fr8
121         test_fr_fr      fr3,fr16
122         test_fr_fr      fr3,fr20
123         fmad            fr28,fr12,fr2
124         test_fr_fr      fr2,fr12
125         fmad            fr28,fr16,fr2
126         test_fr_fr      fr2,fr16
127         test_fr_fr      fr2,fr20
128         fmad            fr28,fr20,fr2
129         test_fr_fr      fr2,fr16
130         test_fr_fr      fr2,fr20
131         fmad            fr28,fr24,fr2
132         test_fr_fr      fr2,fr24
133         fmad            fr28,fr28,fr2
134         test_fr_fr      fr2,fr28
135         fmad            fr28,fr32,fr2
136         test_fr_fr      fr2,fr32
137         test_fr_fr      fr3,fr36
138         fmad            fr28,fr36,fr2
139         test_fr_fr      fr2,fr36
140         fmad            fr28,fr40,fr2
141         test_fr_fr      fr2,fr40
142         fmad            fr28,fr44,fr2
143         test_fr_fr      fr2,fr44
144         fmad            fr28,fr48,fr2
145         test_fr_fr      fr2,fr48
146         fmad            fr28,fr52,fr2
147         test_fr_fr      fr2,fr52
149         fmad            fr28,fr8,fr2
150         test_fr_fr      fr2,fr8
151         test_fr_fr      fr3,fr16
152         test_fr_fr      fr3,fr20
153         fmad            fr8,fr28,fr2
154         test_fr_fr      fr2,fr8
155         test_fr_fr      fr3,fr16
156         test_fr_fr      fr3,fr20
158         fmad            fr32,fr36,fr2
159         test_fr_fr      fr2,fr40
161         pass