Automatic date update in version.in
[binutils-gdb.git] / sim / testsuite / frv / fsubd.cgs
blobfed2d04aaf753145396d208e5d5cc3190364faab
1 # frv testcase for fsubd $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 fsubd
12 fsubd:
13         fsubd           fr0,fr16,fr2
14         test_dfr_dfr    fr2,fr0
15         fsubd           fr4,fr16,fr2
16         test_dfr_dfr    fr2,fr4
17         fsubd           fr8,fr16,fr2
18         test_dfr_dfr    fr2,fr8
19         fsubd           fr12,fr16,fr2
20         test_dfr_dfr    fr2,fr12
21         fsubd           fr16,fr16,fr2
22         test_dfr_dfr    fr2,fr16
23         test_dfr_dfr    fr2,fr20
24         fsubd           fr20,fr16,fr2
25         test_dfr_dfr    fr2,fr16
26         test_dfr_dfr    fr2,fr20
27         fsubd           fr24,fr16,fr2
28         test_dfr_dfr    fr2,fr24
29         fsubd           fr28,fr16,fr2
30         test_dfr_dfr    fr2,fr28
31         fsubd           fr32,fr16,fr2
32         test_dfr_dfr    fr2,fr32
33         fsubd           fr36,fr16,fr2
34         test_dfr_dfr    fr2,fr36
35         fsubd           fr40,fr16,fr2
36         test_dfr_dfr    fr2,fr40
37         fsubd           fr44,fr16,fr2
38         test_dfr_dfr    fr2,fr44
39         fsubd           fr48,fr16,fr2
40         test_dfr_dfr    fr2,fr48
41         fsubd           fr52,fr16,fr2
42         test_dfr_dfr    fr2,fr52
44         fsubd           fr0,fr20,fr2
45         test_dfr_dfr    fr2,fr0
46         fsubd           fr4,fr20,fr2
47         test_dfr_dfr    fr2,fr4
48         fsubd           fr8,fr20,fr2
49         test_dfr_dfr    fr2,fr8
50         fsubd           fr12,fr20,fr2
51         test_dfr_dfr    fr2,fr12
52         fsubd           fr16,fr20,fr2
53         test_dfr_dfr    fr2,fr16
54         test_dfr_dfr    fr2,fr20
55         fsubd           fr20,fr20,fr2
56         test_dfr_dfr    fr2,fr16
57         test_dfr_dfr    fr2,fr20
58         fsubd           fr24,fr20,fr2
59         test_dfr_dfr    fr2,fr24
60         fsubd           fr28,fr20,fr2
61         test_dfr_dfr    fr2,fr28
62         fsubd           fr32,fr20,fr2
63         test_dfr_dfr    fr2,fr32
64         fsubd           fr36,fr20,fr2
65         test_dfr_dfr    fr2,fr36
66         fsubd           fr40,fr20,fr2
67         test_dfr_dfr    fr2,fr40
68         fsubd           fr44,fr20,fr2
69         test_dfr_dfr    fr2,fr44
70         fsubd           fr48,fr20,fr2
71         test_dfr_dfr    fr2,fr48
72         fsubd           fr52,fr20,fr2
73         test_dfr_dfr    fr2,fr52
75         fsubd           fr32,fr36,fr2
76         test_dfr_dfr    fr2,fr8
78         fsubd           fr44,fr40,fr2
79         test_dfr_dfr    fr2,fr36
81         pass