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

Subversion Repositories openrisc_me

[/] [openrisc/] [trunk/] [gnu-src/] [gdb-7.1/] [sim/] [testsuite/] [sim/] [frv/] [fmadds.cgs] - Blame information for rev 227

Details | Compare with Previous | View Log

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

powered by: WebSVN 2.1.0

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