Automatic date update in version.in
[binutils-gdb.git] / sim / testsuite / frv / fmsubd.cgs
blob6b4c943c1bbe007b3cb7ffde3e16cf1b3f9f8d2b
1 # frv testcase for fmsubd $GRi,$GRj,$GRk
2 # mach: frv
3 # as(frv): -mcpu=frv
5         .include "testutils.inc"
7         double_constants
8         start
9         load_double_constants
11         .global fmsubd
12 fmsubd:
13         set_dfr_dfr     fr16,fr2
14         fmsubd          fr16,fr4,fr2
15         test_dfr_dfr    fr2,fr16
16         test_dfr_dfr    fr2,fr20
17         fmsubd          fr16,fr8,fr2
18         test_dfr_dfr    fr2,fr16
19         test_dfr_dfr    fr2,fr20
20         fmsubd          fr16,fr12,fr2
21         test_dfr_dfr    fr2,fr16
22         test_dfr_dfr    fr2,fr20
23         fmsubd          fr16,fr16,fr2
24         test_dfr_dfr    fr2,fr16
25         test_dfr_dfr    fr2,fr20
26         fmsubd          fr16,fr20,fr2
27         test_dfr_dfr    fr2,fr16
28         test_dfr_dfr    fr2,fr20
29         fmsubd          fr16,fr24,fr2
30         test_dfr_dfr    fr2,fr16
31         test_dfr_dfr    fr2,fr20
32         fmsubd          fr16,fr28,fr2
33         test_dfr_dfr    fr2,fr16
34         test_dfr_dfr    fr2,fr20
35         fmsubd          fr16,fr32,fr2
36         test_dfr_dfr    fr2,fr16
37         test_dfr_dfr    fr2,fr20
38         fmsubd          fr16,fr36,fr2
39         test_dfr_dfr    fr2,fr16
40         test_dfr_dfr    fr2,fr20
41         fmsubd          fr16,fr40,fr2
42         test_dfr_dfr    fr2,fr16
43         test_dfr_dfr    fr2,fr20
44         fmsubd          fr16,fr44,fr2
45         test_dfr_dfr    fr2,fr16
46         test_dfr_dfr    fr2,fr20
47         fmsubd          fr16,fr48,fr2
48         test_dfr_dfr    fr2,fr16
49         test_dfr_dfr    fr2,fr20
51         fmsubd          fr20,fr4,fr2
52         test_dfr_dfr    fr2,fr16
53         test_dfr_dfr    fr2,fr20
54         fmsubd          fr20,fr8,fr2
55         test_dfr_dfr    fr2,fr16
56         test_dfr_dfr    fr2,fr20
57         fmsubd          fr20,fr12,fr2
58         test_dfr_dfr    fr2,fr16
59         test_dfr_dfr    fr2,fr20
60         fmsubd          fr20,fr16,fr2
61         test_dfr_dfr    fr2,fr16
62         test_dfr_dfr    fr2,fr20
63         fmsubd          fr20,fr20,fr2
64         test_dfr_dfr    fr2,fr16
65         test_dfr_dfr    fr2,fr20
66         fmsubd          fr20,fr24,fr2
67         test_dfr_dfr    fr2,fr16
68         test_dfr_dfr    fr2,fr20
69         fmsubd          fr20,fr28,fr2
70         test_dfr_dfr    fr2,fr16
71         test_dfr_dfr    fr2,fr20
72         fmsubd          fr20,fr32,fr2
73         test_dfr_dfr    fr2,fr16
74         test_dfr_dfr    fr2,fr20
75         fmsubd          fr20,fr36,fr2
76         test_dfr_dfr    fr2,fr16
77         test_dfr_dfr    fr2,fr20
78         fmsubd          fr20,fr40,fr2
79         test_dfr_dfr    fr2,fr16
80         test_dfr_dfr    fr2,fr20
81         fmsubd          fr20,fr44,fr2
82         test_dfr_dfr    fr2,fr16
83         test_dfr_dfr    fr2,fr20
84         fmsubd          fr20,fr48,fr2
85         test_dfr_dfr    fr2,fr16
86         test_dfr_dfr    fr2,fr20
88         set_dfr_dfr     fr16,fr2
89         fmsubd          fr28,fr0,fr2
90         test_dfr_dfr    fr2,fr0
91         set_dfr_dfr     fr16,fr2
92         fmsubd          fr28,fr4,fr2
93         test_dfr_dfr    fr2,fr4
94         set_dfr_dfr     fr16,fr2
95         fmsubd          fr28,fr8,fr2
96         test_dfr_dfr    fr2,fr8
97         set_dfr_dfr     fr16,fr2
98         fmsubd          fr28,fr12,fr2
99         test_dfr_dfr    fr2,fr12
100         set_dfr_dfr     fr16,fr2
101         fmsubd          fr28,fr16,fr2
102         test_dfr_dfr    fr2,fr16
103         test_dfr_dfr    fr2,fr20
104         set_dfr_dfr     fr16,fr2
105         fmsubd          fr28,fr20,fr2
106         test_dfr_dfr    fr2,fr16
107         test_dfr_dfr    fr2,fr20
108         set_dfr_dfr     fr16,fr2
109         fmsubd          fr28,fr24,fr2
110         test_dfr_dfr    fr2,fr24
111         set_dfr_dfr     fr16,fr2
112         fmsubd          fr28,fr28,fr2
113         test_dfr_dfr    fr2,fr28
114         set_dfr_dfr     fr16,fr2
115         fmsubd          fr28,fr32,fr2
116         test_dfr_dfr    fr2,fr32
117         set_dfr_dfr     fr16,fr2
118         fmsubd          fr28,fr36,fr2
119         test_dfr_dfr    fr2,fr36
120         set_dfr_dfr     fr16,fr2
121         fmsubd          fr28,fr40,fr2
122         test_dfr_dfr    fr2,fr40
123         set_dfr_dfr     fr16,fr2
124         fmsubd          fr28,fr44,fr2
125         test_dfr_dfr    fr2,fr44
126         set_dfr_dfr     fr16,fr2
127         fmsubd          fr28,fr48,fr2
128         test_dfr_dfr    fr2,fr48
129         set_dfr_dfr     fr16,fr2
130         fmsubd          fr28,fr52,fr2
131         test_dfr_dfr    fr2,fr52
133         set_dfr_dfr     fr32,fr2
134         fmsubd          fr8,fr8,fr2
135         test_dfr_dfr    fr2,fr8
136         set_dfr_dfr     fr36,fr2
137         fmsubd          fr36,fr36,fr2
138         test_dfr_dfr    fr2,fr40
140         fmsubd          fr32,fr36,fr2
141         test_dfr_dfr    fr2,fr16
142         test_dfr_dfr    fr2,fr20
144         pass