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

Subversion Repositories openrisc_me

[/] [openrisc/] [trunk/] [gnu-src/] [newlib-1.17.0/] [newlib/] [libc/] [machine/] [necv70/] [fastmath.S] - Blame information for rev 407

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

Line No. Rev Author Line
1 148 jeremybenn
        .globl  _fast_sin
2
_fast_sin:
3
        fsin.l  [ap],[ap]
4
        mov.d   [ap],r0
5
        ret     #0
6
 
7
 
8
        .globl  _fast_sinf
9
_fast_sinf:
10
        fsin.s  [ap],[ap]
11
        mov.w   [ap],r0
12
        ret     #0
13
 
14
 
15
        .globl  _fast_cos
16
_fast_cos:
17
        fcos.l  [ap],[ap]
18
        mov.d   [ap],r0
19
        ret     #0
20
 
21
 
22
        .globl  _fast_cosf
23
_fast_cosf:
24
        fcos.s  [ap],[ap]
25
        mov.w   [ap],r0
26
        ret     #0
27
 
28
 
29
        .globl  _fast_tan
30
_fast_tan:
31
        ftan.l  [ap],[ap]
32
        mov.d   [ap],r0
33
        ret     #0
34
 
35
 
36
        .globl  _fast_tanf
37
_fast_tanf:
38
        ftan.s  [ap],[ap]
39
        mov.w   [ap],r0
40
        ret     #0
41
 
42
 
43
 
44
        .globl  _fast_fabs
45
_fast_fabs:
46
        fabs.l  [ap],[ap]
47
        mov.d   [ap],r0
48
        ret     #0
49
 
50
 
51
        .globl  _fast_fabsf
52
_fast_fabsf:
53
        fabs.s  [ap],[ap]
54
        mov.w   [ap],r0
55
        ret     #0
56
 
57
 
58
        .globl  _fast_sqrt
59
_fast_sqrt:
60
        fsqrt.l [ap],[ap]
61
        mov.d   [ap],r0
62
        ret     #0
63
 
64
 
65
        .globl  _fast_sqrtf
66
_fast_sqrtf:
67
        fsqrt.s [ap],[ap]
68
        mov.w   [ap],r0
69
        ret     #0
70
 
71
 
72
        .globl  _fast_acos
73
_fast_acos:
74
        facos.l [ap],[ap]
75
        mov.d   [ap],r0
76
        ret     #0
77
 
78
 
79
        .globl  _fast_acosf
80
_fast_acosf:
81
        facos.s [ap],[ap]
82
        mov.w   [ap],r0
83
        ret     #0
84
 
85
 
86
        .globl  _fast_asin
87
_fast_asin:
88
        fasin.l [ap],[ap]
89
        mov.d   [ap],r0
90
        ret     #0
91
 
92
 
93
        .globl  _fast_asinf
94
_fast_asinf:
95
        fasin.s [ap],[ap]
96
        mov.w   [ap],r0
97
        ret     #0
98
 
99
 
100
        .globl  _fast_atan
101
_fast_atan:
102
        fatan.l [ap],[ap]
103
        mov.d   [ap],r0
104
        ret     #0
105
 
106
 
107
        .globl  _fast_atanf
108
_fast_atanf:
109
        fatan.s [ap],[ap]
110
        mov.w   [ap],r0
111
        ret     #0
112
 
113
 
114
        .globl  _fast_cosh
115
_fast_cosh:
116
        fcosh.l [ap],[ap]
117
        mov.d   [ap],r0
118
        ret     #0
119
 
120
 
121
        .globl  _fast_coshf
122
_fast_coshf:
123
        fcosh.s [ap],[ap]
124
        mov.w   [ap],r0
125
        ret     #0
126
 
127
 
128
        .globl  _fast_sinh
129
_fast_sinh:
130
        fsin.l  [ap],[ap]
131
        mov.d   [ap],r0
132
        ret     #0
133
 
134
 
135
        .globl  _fast_sinhf
136
_fast_sinhf:
137
        fsin.s  [ap],[ap]
138
        mov.w   [ap],r0
139
        ret     #0
140
 
141
 
142
        .globl  _fast_tanh
143
_fast_tanh:
144
        ftanh.l [ap],[ap]
145
        mov.d   [ap],r0
146
        ret     #0
147
 
148
 
149
        .globl  _fast_tanhf
150
_fast_tanhf:
151
        ftanh.s [ap],[ap]
152
        mov.w   [ap],r0
153
        ret     #0
154
 
155
 
156
        .globl  _fast_atanh
157
_fast_atanh:
158
        fatanh.l        [ap],[ap]
159
        mov.d   [ap],r0
160
        ret     #0
161
 
162
 
163
        .globl  _fast_atanhf
164
_fast_atanhf:
165
        fatanh.s        [ap],[ap]
166
        mov.w   [ap],r0
167
        ret     #0
168
 
169
        .globl  _fast_exp2
170
_fast_exp2:
171
        fexp2.l [ap],[ap]
172
        mov.d   [ap],r0
173
        ret     #0
174
 
175
 
176
        .globl  _fast_exp2f
177
_fast_exp2f:
178
        fexp2.s [ap],[ap]
179
        mov.w   [ap],r0
180
        ret     #0
181
 
182
 
183
        .globl  _fast_exp10
184
_fast_exp10:
185
        fexp10.l        [ap],[ap]
186
        mov.d   [ap],r0
187
        ret     #0
188
 
189
 
190
        .globl  _fast_exp10f
191
_fast_exp10f:
192
        fexp10.s        [ap],[ap]
193
        mov.w   [ap],r0
194
        ret     #0
195
 
196
 
197
        .globl  _fast_expe
198
_fast_expe:
199
        fexpe.l [ap],[ap]
200
        mov.d   [ap],r0
201
        ret     #0
202
 
203
 
204
        .globl  _fast_expef
205
_fast_expef:
206
        fexpe.s [ap],[ap]
207
        mov.w   [ap],r0
208
        ret     #0
209
 
210
 
211
        .globl  _fast_log2
212
_fast_log2:
213
        flog2.l [ap],[ap]
214
        mov.d   [ap],r0
215
        ret     #0
216
 
217
 
218
        .globl  _fast_log2f
219
_fast_log2f:
220
        flog2.s [ap],[ap]
221
        mov.w   [ap],r0
222
        ret     #0
223
 
224
        .globl  _fast_log10
225
_fast_log10:
226
        flog10.l        [ap],[ap]
227
        mov.d   [ap],r0
228
        ret     #0
229
 
230
 
231
        .globl  _fast_log10f
232
_fast_log10f:
233
        flog10.s        [ap],[ap]
234
        mov.w   [ap],r0
235
        ret     #0
236
 
237
 
238
        .globl  _fast_loge
239
_fast_loge:
240
        floge.l [ap],[ap]
241
        mov.d   [ap],r0
242
        ret     #0
243
 
244
 
245
        .globl  _fast_logef
246
_fast_logef:
247
        floge.s [ap],[ap]
248
        mov.w   [ap],r0
249
        ret     #0
250
 
251
 

powered by: WebSVN 2.1.0

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