fixes for host gcc 4.6.1
[zpugcc/jano.git] / toolchain / gcc / newlib / libc / machine / necv70 / fastmath.s
blobbccb20f12cf1982781759bbbbf87e343a770eb72
1 .globl _fast_sin
2 _fast_sin:
3 fsin.l [ap],[ap]
4 mov.d [ap],r0
5 ret #0
8 .globl _fast_sinf
9 _fast_sinf:
10 fsin.s [ap],[ap]
11 mov.w [ap],r0
12 ret #0
15 .globl _fast_cos
16 _fast_cos:
17 fcos.l [ap],[ap]
18 mov.d [ap],r0
19 ret #0
22 .globl _fast_cosf
23 _fast_cosf:
24 fcos.s [ap],[ap]
25 mov.w [ap],r0
26 ret #0
29 .globl _fast_tan
30 _fast_tan:
31 ftan.l [ap],[ap]
32 mov.d [ap],r0
33 ret #0
36 .globl _fast_tanf
37 _fast_tanf:
38 ftan.s [ap],[ap]
39 mov.w [ap],r0
40 ret #0
44 .globl _fast_fabs
45 _fast_fabs:
46 fabs.l [ap],[ap]
47 mov.d [ap],r0
48 ret #0
51 .globl _fast_fabsf
52 _fast_fabsf:
53 fabs.s [ap],[ap]
54 mov.w [ap],r0
55 ret #0
58 .globl _fast_sqrt
59 _fast_sqrt:
60 fsqrt.l [ap],[ap]
61 mov.d [ap],r0
62 ret #0
65 .globl _fast_sqrtf
66 _fast_sqrtf:
67 fsqrt.s [ap],[ap]
68 mov.w [ap],r0
69 ret #0
72 .globl _fast_acos
73 _fast_acos:
74 facos.l [ap],[ap]
75 mov.d [ap],r0
76 ret #0
79 .globl _fast_acosf
80 _fast_acosf:
81 facos.s [ap],[ap]
82 mov.w [ap],r0
83 ret #0
86 .globl _fast_asin
87 _fast_asin:
88 fasin.l [ap],[ap]
89 mov.d [ap],r0
90 ret #0
93 .globl _fast_asinf
94 _fast_asinf:
95 fasin.s [ap],[ap]
96 mov.w [ap],r0
97 ret #0
100 .globl _fast_atan
101 _fast_atan:
102 fatan.l [ap],[ap]
103 mov.d [ap],r0
104 ret #0
107 .globl _fast_atanf
108 _fast_atanf:
109 fatan.s [ap],[ap]
110 mov.w [ap],r0
111 ret #0
114 .globl _fast_cosh
115 _fast_cosh:
116 fcosh.l [ap],[ap]
117 mov.d [ap],r0
118 ret #0
121 .globl _fast_coshf
122 _fast_coshf:
123 fcosh.s [ap],[ap]
124 mov.w [ap],r0
125 ret #0
128 .globl _fast_sinh
129 _fast_sinh:
130 fsin.l [ap],[ap]
131 mov.d [ap],r0
132 ret #0
135 .globl _fast_sinhf
136 _fast_sinhf:
137 fsin.s [ap],[ap]
138 mov.w [ap],r0
139 ret #0
142 .globl _fast_tanh
143 _fast_tanh:
144 ftanh.l [ap],[ap]
145 mov.d [ap],r0
146 ret #0
149 .globl _fast_tanhf
150 _fast_tanhf:
151 ftanh.s [ap],[ap]
152 mov.w [ap],r0
153 ret #0
156 .globl _fast_atanh
157 _fast_atanh:
158 fatanh.l [ap],[ap]
159 mov.d [ap],r0
160 ret #0
163 .globl _fast_atanhf
164 _fast_atanhf:
165 fatanh.s [ap],[ap]
166 mov.w [ap],r0
167 ret #0
169 .globl _fast_exp2
170 _fast_exp2:
171 fexp2.l [ap],[ap]
172 mov.d [ap],r0
173 ret #0
176 .globl _fast_exp2f
177 _fast_exp2f:
178 fexp2.s [ap],[ap]
179 mov.w [ap],r0
180 ret #0
183 .globl _fast_exp10
184 _fast_exp10:
185 fexp10.l [ap],[ap]
186 mov.d [ap],r0
187 ret #0
190 .globl _fast_exp10f
191 _fast_exp10f:
192 fexp10.s [ap],[ap]
193 mov.w [ap],r0
194 ret #0
197 .globl _fast_expe
198 _fast_expe:
199 fexpe.l [ap],[ap]
200 mov.d [ap],r0
201 ret #0
204 .globl _fast_expef
205 _fast_expef:
206 fexpe.s [ap],[ap]
207 mov.w [ap],r0
208 ret #0
211 .globl _fast_log2
212 _fast_log2:
213 flog2.l [ap],[ap]
214 mov.d [ap],r0
215 ret #0
218 .globl _fast_log2f
219 _fast_log2f:
220 flog2.s [ap],[ap]
221 mov.w [ap],r0
222 ret #0
224 .globl _fast_log10
225 _fast_log10:
226 flog10.l [ap],[ap]
227 mov.d [ap],r0
228 ret #0
231 .globl _fast_log10f
232 _fast_log10f:
233 flog10.s [ap],[ap]
234 mov.w [ap],r0
235 ret #0
238 .globl _fast_loge
239 _fast_loge:
240 floge.l [ap],[ap]
241 mov.d [ap],r0
242 ret #0
245 .globl _fast_logef
246 _fast_logef:
247 floge.s [ap],[ap]
248 mov.w [ap],r0
249 ret #0