Refs#509. Merge branch 'grisuthedragon-develop' into develop
[platform/upstream/openblas.git] / common_c.h
1 #ifndef COMMON_C_H
2 #define COMMON_C_H
3
4 #ifndef DYNAMIC_ARCH
5
6 #define CAMAX_K                 camax_k
7 #define CAMIN_K                 camin_k
8 #define CMAX_K                  cmax_k
9 #define CMIN_K                  cmin_k
10 #define ICAMAX_K                icamax_k
11 #define ICAMIN_K                icamin_k
12 #define ICMAX_K                 icmax_k
13 #define ICMIN_K                 icmin_k
14 #define CASUM_K                 casum_k
15 #define CAXPYU_K                caxpy_k
16 #define CAXPYC_K                caxpyc_k
17 #define CCOPY_K                 ccopy_k
18 #define CDOTU_K                 cdotu_k
19 #define CDOTC_K                 cdotc_k
20 #define CNRM2_K                 cnrm2_k
21 #define CSCAL_K                 cscal_k
22 #define CSWAP_K                 cswap_k
23 #define CROT_K                  csrot_k
24
25 #define CGEMV_N                 cgemv_n
26 #define CGEMV_T                 cgemv_t
27 #define CGEMV_R                 cgemv_r
28 #define CGEMV_C                 cgemv_c
29 #define CGEMV_O                 cgemv_o
30 #define CGEMV_U                 cgemv_u
31 #define CGEMV_S                 cgemv_s
32 #define CGEMV_D                 cgemv_d
33
34 #define CGERU_K                 cgeru_k
35 #define CGERC_K                 cgerc_k
36 #define CGERV_K                 cgerv_k
37 #define CGERD_K                 cgerd_k
38
39 #define CSYMV_U                 csymv_U
40 #define CSYMV_L                 csymv_L
41 #define CHEMV_U                 chemv_U
42 #define CHEMV_L                 chemv_L
43 #define CHEMV_V                 chemv_V
44 #define CHEMV_M                 chemv_M
45
46 #define CSYMV_THREAD_U          csymv_thread_U
47 #define CSYMV_THREAD_L          csymv_thread_L
48 #define CHEMV_THREAD_U          chemv_thread_U
49 #define CHEMV_THREAD_L          chemv_thread_L
50 #define CHEMV_THREAD_V          chemv_thread_V
51 #define CHEMV_THREAD_M          chemv_thread_M
52
53 #define CGEMM_ONCOPY            cgemm_oncopy
54 #define CGEMM_OTCOPY            cgemm_otcopy
55
56 #if CGEMM_DEFAULT_UNROLL_M == CGEMM_DEFAULT_UNROLL_N
57 #define CGEMM_INCOPY            cgemm_oncopy
58 #define CGEMM_ITCOPY            cgemm_otcopy
59 #else
60 #define CGEMM_INCOPY            cgemm_incopy
61 #define CGEMM_ITCOPY            cgemm_itcopy
62 #endif
63
64 #define CTRMM_OUNUCOPY          ctrmm_ounucopy
65 #define CTRMM_OUNNCOPY          ctrmm_ounncopy
66 #define CTRMM_OUTUCOPY          ctrmm_outucopy
67 #define CTRMM_OUTNCOPY          ctrmm_outncopy
68 #define CTRMM_OLNUCOPY          ctrmm_olnucopy
69 #define CTRMM_OLNNCOPY          ctrmm_olnncopy
70 #define CTRMM_OLTUCOPY          ctrmm_oltucopy
71 #define CTRMM_OLTNCOPY          ctrmm_oltncopy
72
73 #define CTRSM_OUNUCOPY          ctrsm_ounucopy
74 #define CTRSM_OUNNCOPY          ctrsm_ounncopy
75 #define CTRSM_OUTUCOPY          ctrsm_outucopy
76 #define CTRSM_OUTNCOPY          ctrsm_outncopy
77 #define CTRSM_OLNUCOPY          ctrsm_olnucopy
78 #define CTRSM_OLNNCOPY          ctrsm_olnncopy
79 #define CTRSM_OLTUCOPY          ctrsm_oltucopy
80 #define CTRSM_OLTNCOPY          ctrsm_oltncopy
81
82 #if CGEMM_DEFAULT_UNROLL_M == CGEMM_DEFAULT_UNROLL_N
83 #define CTRMM_IUNUCOPY          ctrmm_ounucopy
84 #define CTRMM_IUNNCOPY          ctrmm_ounncopy
85 #define CTRMM_IUTUCOPY          ctrmm_outucopy
86 #define CTRMM_IUTNCOPY          ctrmm_outncopy
87 #define CTRMM_ILNUCOPY          ctrmm_olnucopy
88 #define CTRMM_ILNNCOPY          ctrmm_olnncopy
89 #define CTRMM_ILTUCOPY          ctrmm_oltucopy
90 #define CTRMM_ILTNCOPY          ctrmm_oltncopy
91
92 #define CTRSM_IUNUCOPY          ctrsm_ounucopy
93 #define CTRSM_IUNNCOPY          ctrsm_ounncopy
94 #define CTRSM_IUTUCOPY          ctrsm_outucopy
95 #define CTRSM_IUTNCOPY          ctrsm_outncopy
96 #define CTRSM_ILNUCOPY          ctrsm_olnucopy
97 #define CTRSM_ILNNCOPY          ctrsm_olnncopy
98 #define CTRSM_ILTUCOPY          ctrsm_oltucopy
99 #define CTRSM_ILTNCOPY          ctrsm_oltncopy
100 #else
101 #define CTRMM_IUNUCOPY          ctrmm_iunucopy
102 #define CTRMM_IUNNCOPY          ctrmm_iunncopy
103 #define CTRMM_IUTUCOPY          ctrmm_iutucopy
104 #define CTRMM_IUTNCOPY          ctrmm_iutncopy
105 #define CTRMM_ILNUCOPY          ctrmm_ilnucopy
106 #define CTRMM_ILNNCOPY          ctrmm_ilnncopy
107 #define CTRMM_ILTUCOPY          ctrmm_iltucopy
108 #define CTRMM_ILTNCOPY          ctrmm_iltncopy
109
110 #define CTRSM_IUNUCOPY          ctrsm_iunucopy
111 #define CTRSM_IUNNCOPY          ctrsm_iunncopy
112 #define CTRSM_IUTUCOPY          ctrsm_iutucopy
113 #define CTRSM_IUTNCOPY          ctrsm_iutncopy
114 #define CTRSM_ILNUCOPY          ctrsm_ilnucopy
115 #define CTRSM_ILNNCOPY          ctrsm_ilnncopy
116 #define CTRSM_ILTUCOPY          ctrsm_iltucopy
117 #define CTRSM_ILTNCOPY          ctrsm_iltncopy
118 #endif
119
120 #define CGEMM_BETA              cgemm_beta
121
122 #define CGEMM_KERNEL_N          cgemm_kernel_n
123 #define CGEMM_KERNEL_L          cgemm_kernel_l
124 #define CGEMM_KERNEL_R          cgemm_kernel_r
125 #define CGEMM_KERNEL_B          cgemm_kernel_b
126
127 #define CTRMM_KERNEL_LN         ctrmm_kernel_LN
128 #define CTRMM_KERNEL_LT         ctrmm_kernel_LT
129 #define CTRMM_KERNEL_LR         ctrmm_kernel_LR
130 #define CTRMM_KERNEL_LC         ctrmm_kernel_LC
131 #define CTRMM_KERNEL_RN         ctrmm_kernel_RN
132 #define CTRMM_KERNEL_RT         ctrmm_kernel_RT
133 #define CTRMM_KERNEL_RR         ctrmm_kernel_RR
134 #define CTRMM_KERNEL_RC         ctrmm_kernel_RC
135
136 #define CTRSM_KERNEL_LN         ctrsm_kernel_LN
137 #define CTRSM_KERNEL_LT         ctrsm_kernel_LT
138 #define CTRSM_KERNEL_LR         ctrsm_kernel_LR
139 #define CTRSM_KERNEL_LC         ctrsm_kernel_LC
140 #define CTRSM_KERNEL_RN         ctrsm_kernel_RN
141 #define CTRSM_KERNEL_RT         ctrsm_kernel_RT
142 #define CTRSM_KERNEL_RR         ctrsm_kernel_RR
143 #define CTRSM_KERNEL_RC         ctrsm_kernel_RC
144
145 #define CSYMM_OUTCOPY           csymm_outcopy
146 #define CSYMM_OLTCOPY           csymm_oltcopy
147 #if CGEMM_DEFAULT_UNROLL_M == CGEMM_DEFAULT_UNROLL_N
148 #define CSYMM_IUTCOPY           csymm_outcopy
149 #define CSYMM_ILTCOPY           csymm_oltcopy
150 #else
151 #define CSYMM_IUTCOPY           csymm_iutcopy
152 #define CSYMM_ILTCOPY           csymm_iltcopy
153 #endif
154
155 #define CHEMM_OUTCOPY           chemm_outcopy
156 #define CHEMM_OLTCOPY           chemm_oltcopy
157 #if CGEMM_DEFAULT_UNROLL_M == CGEMM_DEFAULT_UNROLL_N
158 #define CHEMM_IUTCOPY           chemm_outcopy
159 #define CHEMM_ILTCOPY           chemm_oltcopy
160 #else
161 #define CHEMM_IUTCOPY           chemm_iutcopy
162 #define CHEMM_ILTCOPY           chemm_iltcopy
163 #endif
164
165 #define CGEMM3M_ONCOPYB         cgemm3m_oncopyb
166 #define CGEMM3M_ONCOPYR         cgemm3m_oncopyr
167 #define CGEMM3M_ONCOPYI         cgemm3m_oncopyi
168 #define CGEMM3M_OTCOPYB         cgemm3m_otcopyb
169 #define CGEMM3M_OTCOPYR         cgemm3m_otcopyr
170 #define CGEMM3M_OTCOPYI         cgemm3m_otcopyi
171
172 #define CGEMM3M_INCOPYB         cgemm3m_incopyb
173 #define CGEMM3M_INCOPYR         cgemm3m_incopyr
174 #define CGEMM3M_INCOPYI         cgemm3m_incopyi
175 #define CGEMM3M_ITCOPYB         cgemm3m_itcopyb
176 #define CGEMM3M_ITCOPYR         cgemm3m_itcopyr
177 #define CGEMM3M_ITCOPYI         cgemm3m_itcopyi
178
179 #define CSYMM3M_ILCOPYB         csymm3m_ilcopyb
180 #define CSYMM3M_IUCOPYB         csymm3m_iucopyb
181 #define CSYMM3M_ILCOPYR         csymm3m_ilcopyr
182 #define CSYMM3M_IUCOPYR         csymm3m_iucopyr
183 #define CSYMM3M_ILCOPYI         csymm3m_ilcopyi
184 #define CSYMM3M_IUCOPYI         csymm3m_iucopyi
185
186 #define CSYMM3M_OLCOPYB         csymm3m_olcopyb
187 #define CSYMM3M_OUCOPYB         csymm3m_oucopyb
188 #define CSYMM3M_OLCOPYR         csymm3m_olcopyr
189 #define CSYMM3M_OUCOPYR         csymm3m_oucopyr
190 #define CSYMM3M_OLCOPYI         csymm3m_olcopyi
191 #define CSYMM3M_OUCOPYI         csymm3m_oucopyi
192
193 #define CHEMM3M_ILCOPYB         chemm3m_ilcopyb
194 #define CHEMM3M_IUCOPYB         chemm3m_iucopyb
195 #define CHEMM3M_ILCOPYR         chemm3m_ilcopyr
196 #define CHEMM3M_IUCOPYR         chemm3m_iucopyr
197 #define CHEMM3M_ILCOPYI         chemm3m_ilcopyi
198 #define CHEMM3M_IUCOPYI         chemm3m_iucopyi
199
200 #define CHEMM3M_OLCOPYB         chemm3m_olcopyb
201 #define CHEMM3M_OUCOPYB         chemm3m_oucopyb
202 #define CHEMM3M_OLCOPYR         chemm3m_olcopyr
203 #define CHEMM3M_OUCOPYR         chemm3m_oucopyr
204 #define CHEMM3M_OLCOPYI         chemm3m_olcopyi
205 #define CHEMM3M_OUCOPYI         chemm3m_oucopyi
206
207 #define CGEMM3M_KERNEL          cgemm3m_kernel
208
209 #define CNEG_TCOPY              cneg_tcopy
210 #define CLASWP_NCOPY            claswp_ncopy
211
212 #define CAXPBY_K                caxpby_k
213
214 #define COMATCOPY_K_CN          comatcopy_k_cn
215 #define COMATCOPY_K_RN          comatcopy_k_rn
216 #define COMATCOPY_K_CT          comatcopy_k_ct
217 #define COMATCOPY_K_RT          comatcopy_k_rt
218 #define COMATCOPY_K_CNC         comatcopy_k_cnc
219 #define COMATCOPY_K_RNC         comatcopy_k_rnc
220 #define COMATCOPY_K_CTC         comatcopy_k_ctc
221 #define COMATCOPY_K_RTC         comatcopy_k_rtc
222
223 #define CGEADD_K                cgeadd_k 
224
225 #else
226
227 #define CAMAX_K                 gotoblas -> camax_k
228 #define CAMIN_K                 gotoblas -> camin_k
229 #define CMAX_K                  gotoblas -> cmax_k
230 #define CMIN_K                  gotoblas -> cmin_k
231 #define ICAMAX_K                gotoblas -> icamax_k
232 #define ICAMIN_K                gotoblas -> icamin_k
233 #define ICMAX_K                 gotoblas -> icmax_k
234 #define ICMIN_K                 gotoblas -> icmin_k
235 #define CASUM_K                 gotoblas -> casum_k
236 #define CAXPYU_K                gotoblas -> caxpy_k
237 #define CAXPYC_K                gotoblas -> caxpyc_k
238 #define CCOPY_K                 gotoblas -> ccopy_k
239 #define CDOTU_K                 gotoblas -> cdotu_k
240 #define CDOTC_K                 gotoblas -> cdotc_k
241 #define CNRM2_K                 gotoblas -> cnrm2_k
242 #define CSCAL_K                 gotoblas -> cscal_k
243 #define CSWAP_K                 gotoblas -> cswap_k
244 #define CROT_K                  gotoblas -> csrot_k
245
246 #define CGEMV_N                 gotoblas -> cgemv_n
247 #define CGEMV_T                 gotoblas -> cgemv_t
248 #define CGEMV_R                 gotoblas -> cgemv_r
249 #define CGEMV_C                 gotoblas -> cgemv_c
250 #define CGEMV_O                 gotoblas -> cgemv_o
251 #define CGEMV_U                 gotoblas -> cgemv_u
252 #define CGEMV_S                 gotoblas -> cgemv_s
253 #define CGEMV_D                 gotoblas -> cgemv_d
254
255 #define CGERU_K                 gotoblas -> cgeru_k
256 #define CGERC_K                 gotoblas -> cgerc_k
257 #define CGERV_K                 gotoblas -> cgerv_k
258 #define CGERD_K                 gotoblas -> cgerd_k
259
260 #define CSYMV_U                 gotoblas -> csymv_U
261 #define CSYMV_L                 gotoblas -> csymv_L
262 #define CHEMV_U                 gotoblas -> chemv_U
263 #define CHEMV_L                 gotoblas -> chemv_L
264 #define CHEMV_V                 gotoblas -> chemv_V
265 #define CHEMV_M                 gotoblas -> chemv_M
266
267 #define CSYMV_THREAD_U          csymv_thread_U
268 #define CSYMV_THREAD_L          csymv_thread_L
269 #define CHEMV_THREAD_U          chemv_thread_U
270 #define CHEMV_THREAD_L          chemv_thread_L
271 #define CHEMV_THREAD_V          chemv_thread_V
272 #define CHEMV_THREAD_M          chemv_thread_M
273
274 #define CGEMM_ONCOPY            gotoblas -> cgemm_oncopy
275 #define CGEMM_OTCOPY            gotoblas -> cgemm_otcopy
276 #define CGEMM_INCOPY            gotoblas -> cgemm_incopy
277 #define CGEMM_ITCOPY            gotoblas -> cgemm_itcopy
278
279 #define CTRMM_OUNUCOPY          gotoblas -> ctrmm_ounucopy
280 #define CTRMM_OUTUCOPY          gotoblas -> ctrmm_outucopy
281 #define CTRMM_OLNUCOPY          gotoblas -> ctrmm_olnucopy
282 #define CTRMM_OLTUCOPY          gotoblas -> ctrmm_oltucopy
283 #define CTRSM_OUNUCOPY          gotoblas -> ctrsm_ounucopy
284 #define CTRSM_OUTUCOPY          gotoblas -> ctrsm_outucopy
285 #define CTRSM_OLNUCOPY          gotoblas -> ctrsm_olnucopy
286 #define CTRSM_OLTUCOPY          gotoblas -> ctrsm_oltucopy
287
288 #define CTRMM_IUNUCOPY          gotoblas -> ctrmm_iunucopy
289 #define CTRMM_IUTUCOPY          gotoblas -> ctrmm_iutucopy
290 #define CTRMM_ILNUCOPY          gotoblas -> ctrmm_ilnucopy
291 #define CTRMM_ILTUCOPY          gotoblas -> ctrmm_iltucopy
292 #define CTRSM_IUNUCOPY          gotoblas -> ctrsm_iunucopy
293 #define CTRSM_IUTUCOPY          gotoblas -> ctrsm_iutucopy
294 #define CTRSM_ILNUCOPY          gotoblas -> ctrsm_ilnucopy
295 #define CTRSM_ILTUCOPY          gotoblas -> ctrsm_iltucopy
296
297 #define CTRMM_OUNNCOPY          gotoblas -> ctrmm_ounncopy
298 #define CTRMM_OUTNCOPY          gotoblas -> ctrmm_outncopy
299 #define CTRMM_OLNNCOPY          gotoblas -> ctrmm_olnncopy
300 #define CTRMM_OLTNCOPY          gotoblas -> ctrmm_oltncopy
301 #define CTRSM_OUNNCOPY          gotoblas -> ctrsm_ounncopy
302 #define CTRSM_OUTNCOPY          gotoblas -> ctrsm_outncopy
303 #define CTRSM_OLNNCOPY          gotoblas -> ctrsm_olnncopy
304 #define CTRSM_OLTNCOPY          gotoblas -> ctrsm_oltncopy
305
306 #define CTRMM_IUNNCOPY          gotoblas -> ctrmm_iunncopy
307 #define CTRMM_IUTNCOPY          gotoblas -> ctrmm_iutncopy
308 #define CTRMM_ILNNCOPY          gotoblas -> ctrmm_ilnncopy
309 #define CTRMM_ILTNCOPY          gotoblas -> ctrmm_iltncopy
310 #define CTRSM_IUNNCOPY          gotoblas -> ctrsm_iunncopy
311 #define CTRSM_IUTNCOPY          gotoblas -> ctrsm_iutncopy
312 #define CTRSM_ILNNCOPY          gotoblas -> ctrsm_ilnncopy
313 #define CTRSM_ILTNCOPY          gotoblas -> ctrsm_iltncopy
314
315 #define CGEMM_BETA              gotoblas -> cgemm_beta
316 #define CGEMM_KERNEL_N          gotoblas -> cgemm_kernel_n
317 #define CGEMM_KERNEL_L          gotoblas -> cgemm_kernel_l
318 #define CGEMM_KERNEL_R          gotoblas -> cgemm_kernel_r
319 #define CGEMM_KERNEL_B          gotoblas -> cgemm_kernel_b
320
321 #define CTRMM_KERNEL_LN         gotoblas -> ctrmm_kernel_LN
322 #define CTRMM_KERNEL_LT         gotoblas -> ctrmm_kernel_LT
323 #define CTRMM_KERNEL_LR         gotoblas -> ctrmm_kernel_LR
324 #define CTRMM_KERNEL_LC         gotoblas -> ctrmm_kernel_LC
325 #define CTRMM_KERNEL_RN         gotoblas -> ctrmm_kernel_RN
326 #define CTRMM_KERNEL_RT         gotoblas -> ctrmm_kernel_RT
327 #define CTRMM_KERNEL_RR         gotoblas -> ctrmm_kernel_RR
328 #define CTRMM_KERNEL_RC         gotoblas -> ctrmm_kernel_RC
329
330 #define CTRSM_KERNEL_LN         gotoblas -> ctrsm_kernel_LN
331 #define CTRSM_KERNEL_LT         gotoblas -> ctrsm_kernel_LT
332 #define CTRSM_KERNEL_LR         gotoblas -> ctrsm_kernel_LR
333 #define CTRSM_KERNEL_LC         gotoblas -> ctrsm_kernel_LC
334 #define CTRSM_KERNEL_RN         gotoblas -> ctrsm_kernel_RN
335 #define CTRSM_KERNEL_RT         gotoblas -> ctrsm_kernel_RT
336 #define CTRSM_KERNEL_RR         gotoblas -> ctrsm_kernel_RR
337 #define CTRSM_KERNEL_RC         gotoblas -> ctrsm_kernel_RC
338
339 #define CSYMM_IUTCOPY           gotoblas -> csymm_iutcopy
340 #define CSYMM_ILTCOPY           gotoblas -> csymm_iltcopy
341 #define CSYMM_OUTCOPY           gotoblas -> csymm_outcopy
342 #define CSYMM_OLTCOPY           gotoblas -> csymm_oltcopy
343
344 #define CHEMM_OUTCOPY           gotoblas -> chemm_outcopy
345 #define CHEMM_OLTCOPY           gotoblas -> chemm_oltcopy
346 #define CHEMM_IUTCOPY           gotoblas -> chemm_iutcopy
347 #define CHEMM_ILTCOPY           gotoblas -> chemm_iltcopy
348
349 #define CGEMM3M_ONCOPYB         gotoblas -> cgemm3m_oncopyb
350 #define CGEMM3M_ONCOPYR         gotoblas -> cgemm3m_oncopyr
351 #define CGEMM3M_ONCOPYI         gotoblas -> cgemm3m_oncopyi
352 #define CGEMM3M_OTCOPYB         gotoblas -> cgemm3m_otcopyb
353 #define CGEMM3M_OTCOPYR         gotoblas -> cgemm3m_otcopyr
354 #define CGEMM3M_OTCOPYI         gotoblas -> cgemm3m_otcopyi
355
356 #define CGEMM3M_INCOPYB         gotoblas -> cgemm3m_incopyb
357 #define CGEMM3M_INCOPYR         gotoblas -> cgemm3m_incopyr
358 #define CGEMM3M_INCOPYI         gotoblas -> cgemm3m_incopyi
359 #define CGEMM3M_ITCOPYB         gotoblas -> cgemm3m_itcopyb
360 #define CGEMM3M_ITCOPYR         gotoblas -> cgemm3m_itcopyr
361 #define CGEMM3M_ITCOPYI         gotoblas -> cgemm3m_itcopyi
362
363 #define CSYMM3M_ILCOPYB         gotoblas -> csymm3m_ilcopyb
364 #define CSYMM3M_IUCOPYB         gotoblas -> csymm3m_iucopyb
365 #define CSYMM3M_ILCOPYR         gotoblas -> csymm3m_ilcopyr
366 #define CSYMM3M_IUCOPYR         gotoblas -> csymm3m_iucopyr
367 #define CSYMM3M_ILCOPYI         gotoblas -> csymm3m_ilcopyi
368 #define CSYMM3M_IUCOPYI         gotoblas -> csymm3m_iucopyi
369
370 #define CSYMM3M_OLCOPYB         gotoblas -> csymm3m_olcopyb
371 #define CSYMM3M_OUCOPYB         gotoblas -> csymm3m_oucopyb
372 #define CSYMM3M_OLCOPYR         gotoblas -> csymm3m_olcopyr
373 #define CSYMM3M_OUCOPYR         gotoblas -> csymm3m_oucopyr
374 #define CSYMM3M_OLCOPYI         gotoblas -> csymm3m_olcopyi
375 #define CSYMM3M_OUCOPYI         gotoblas -> csymm3m_oucopyi
376
377 #define CHEMM3M_ILCOPYB         gotoblas -> chemm3m_ilcopyb
378 #define CHEMM3M_IUCOPYB         gotoblas -> chemm3m_iucopyb
379 #define CHEMM3M_ILCOPYR         gotoblas -> chemm3m_ilcopyr
380 #define CHEMM3M_IUCOPYR         gotoblas -> chemm3m_iucopyr
381 #define CHEMM3M_ILCOPYI         gotoblas -> chemm3m_ilcopyi
382 #define CHEMM3M_IUCOPYI         gotoblas -> chemm3m_iucopyi
383
384 #define CHEMM3M_OLCOPYB         gotoblas -> chemm3m_olcopyb
385 #define CHEMM3M_OUCOPYB         gotoblas -> chemm3m_oucopyb
386 #define CHEMM3M_OLCOPYR         gotoblas -> chemm3m_olcopyr
387 #define CHEMM3M_OUCOPYR         gotoblas -> chemm3m_oucopyr
388 #define CHEMM3M_OLCOPYI         gotoblas -> chemm3m_olcopyi
389 #define CHEMM3M_OUCOPYI         gotoblas -> chemm3m_oucopyi
390
391 #define CGEMM3M_KERNEL          gotoblas -> cgemm3m_kernel
392
393 #define CNEG_TCOPY              gotoblas -> cneg_tcopy
394 #define CLASWP_NCOPY            gotoblas -> claswp_ncopy
395
396 #define CAXPBY_K                gotoblas -> caxpby_k
397
398 #define COMATCOPY_K_CN          gotoblas -> comatcopy_k_cn
399 #define COMATCOPY_K_RN          gotoblas -> comatcopy_k_rn
400 #define COMATCOPY_K_CT          gotoblas -> comatcopy_k_ct
401 #define COMATCOPY_K_RT          gotoblas -> comatcopy_k_rt
402 #define COMATCOPY_K_CNC         gotoblas -> comatcopy_k_cnc
403 #define COMATCOPY_K_RNC         gotoblas -> comatcopy_k_rnc
404 #define COMATCOPY_K_CTC         gotoblas -> comatcopy_k_ctc
405 #define COMATCOPY_K_RTC         gotoblas -> comatcopy_k_rtc
406 #define CGEADD_K                gotoblas -> cgeadd_k 
407
408 #endif
409
410 #define CGEMM_NN                cgemm_nn
411 #define CGEMM_CN                cgemm_cn
412 #define CGEMM_TN                cgemm_tn
413 #define CGEMM_NC                cgemm_nc
414 #define CGEMM_NT                cgemm_nt
415 #define CGEMM_CC                cgemm_cc
416 #define CGEMM_CT                cgemm_ct
417 #define CGEMM_TC                cgemm_tc
418 #define CGEMM_TT                cgemm_tt
419 #define CGEMM_NR                cgemm_nr
420 #define CGEMM_TR                cgemm_tr
421 #define CGEMM_CR                cgemm_cr
422 #define CGEMM_RN                cgemm_rn
423 #define CGEMM_RT                cgemm_rt
424 #define CGEMM_RC                cgemm_rc
425 #define CGEMM_RR                cgemm_rr
426
427 #define CSYMM_LU                csymm_LU
428 #define CSYMM_LL                csymm_LL
429 #define CSYMM_RU                csymm_RU
430 #define CSYMM_RL                csymm_RL
431
432 #define CHEMM_LU                chemm_LU
433 #define CHEMM_LL                chemm_LL
434 #define CHEMM_RU                chemm_RU
435 #define CHEMM_RL                chemm_RL
436
437 #define CSYRK_UN                csyrk_UN
438 #define CSYRK_UT                csyrk_UT
439 #define CSYRK_LN                csyrk_LN
440 #define CSYRK_LT                csyrk_LT
441 #define CSYRK_UR                csyrk_UN
442 #define CSYRK_UC                csyrk_UT
443 #define CSYRK_LR                csyrk_LN
444 #define CSYRK_LC                csyrk_LT
445
446 #define CSYRK_KERNEL_U          csyrk_kernel_U
447 #define CSYRK_KERNEL_L          csyrk_kernel_L
448
449 #define CHERK_UN                cherk_UN
450 #define CHERK_LN                cherk_LN
451 #define CHERK_UC                cherk_UC
452 #define CHERK_LC                cherk_LC
453
454 #define CHER2K_UN               cher2k_UN
455 #define CHER2K_LN               cher2k_LN
456 #define CHER2K_UC               cher2k_UC
457 #define CHER2K_LC               cher2k_LC
458
459 #define CSYR2K_UN               csyr2k_UN
460 #define CSYR2K_UT               csyr2k_UT
461 #define CSYR2K_LN               csyr2k_LN
462 #define CSYR2K_LT               csyr2k_LT
463 #define CSYR2K_UR               csyr2k_UN
464 #define CSYR2K_UC               csyr2k_UT
465 #define CSYR2K_LR               csyr2k_LN
466 #define CSYR2K_LC               csyr2k_LT
467
468 #define CSYR2K_KERNEL_U         csyr2k_kernel_U
469 #define CSYR2K_KERNEL_L         csyr2k_kernel_L
470
471 #define CTRMM_LNUU              ctrmm_LNUU
472 #define CTRMM_LNUN              ctrmm_LNUN
473 #define CTRMM_LNLU              ctrmm_LNLU
474 #define CTRMM_LNLN              ctrmm_LNLN
475 #define CTRMM_LTUU              ctrmm_LTUU
476 #define CTRMM_LTUN              ctrmm_LTUN
477 #define CTRMM_LTLU              ctrmm_LTLU
478 #define CTRMM_LTLN              ctrmm_LTLN
479 #define CTRMM_LRUU              ctrmm_LRUU
480 #define CTRMM_LRUN              ctrmm_LRUN
481 #define CTRMM_LRLU              ctrmm_LRLU
482 #define CTRMM_LRLN              ctrmm_LRLN
483 #define CTRMM_LCUU              ctrmm_LCUU
484 #define CTRMM_LCUN              ctrmm_LCUN
485 #define CTRMM_LCLU              ctrmm_LCLU
486 #define CTRMM_LCLN              ctrmm_LCLN
487 #define CTRMM_RNUU              ctrmm_RNUU
488 #define CTRMM_RNUN              ctrmm_RNUN
489 #define CTRMM_RNLU              ctrmm_RNLU
490 #define CTRMM_RNLN              ctrmm_RNLN
491 #define CTRMM_RTUU              ctrmm_RTUU
492 #define CTRMM_RTUN              ctrmm_RTUN
493 #define CTRMM_RTLU              ctrmm_RTLU
494 #define CTRMM_RTLN              ctrmm_RTLN
495 #define CTRMM_RRUU              ctrmm_RRUU
496 #define CTRMM_RRUN              ctrmm_RRUN
497 #define CTRMM_RRLU              ctrmm_RRLU
498 #define CTRMM_RRLN              ctrmm_RRLN
499 #define CTRMM_RCUU              ctrmm_RCUU
500 #define CTRMM_RCUN              ctrmm_RCUN
501 #define CTRMM_RCLU              ctrmm_RCLU
502 #define CTRMM_RCLN              ctrmm_RCLN
503
504 #define CTRSM_LNUU              ctrsm_LNUU
505 #define CTRSM_LNUN              ctrsm_LNUN
506 #define CTRSM_LNLU              ctrsm_LNLU
507 #define CTRSM_LNLN              ctrsm_LNLN
508 #define CTRSM_LTUU              ctrsm_LTUU
509 #define CTRSM_LTUN              ctrsm_LTUN
510 #define CTRSM_LTLU              ctrsm_LTLU
511 #define CTRSM_LTLN              ctrsm_LTLN
512 #define CTRSM_LRUU              ctrsm_LRUU
513 #define CTRSM_LRUN              ctrsm_LRUN
514 #define CTRSM_LRLU              ctrsm_LRLU
515 #define CTRSM_LRLN              ctrsm_LRLN
516 #define CTRSM_LCUU              ctrsm_LCUU
517 #define CTRSM_LCUN              ctrsm_LCUN
518 #define CTRSM_LCLU              ctrsm_LCLU
519 #define CTRSM_LCLN              ctrsm_LCLN
520 #define CTRSM_RNUU              ctrsm_RNUU
521 #define CTRSM_RNUN              ctrsm_RNUN
522 #define CTRSM_RNLU              ctrsm_RNLU
523 #define CTRSM_RNLN              ctrsm_RNLN
524 #define CTRSM_RTUU              ctrsm_RTUU
525 #define CTRSM_RTUN              ctrsm_RTUN
526 #define CTRSM_RTLU              ctrsm_RTLU
527 #define CTRSM_RTLN              ctrsm_RTLN
528 #define CTRSM_RRUU              ctrsm_RRUU
529 #define CTRSM_RRUN              ctrsm_RRUN
530 #define CTRSM_RRLU              ctrsm_RRLU
531 #define CTRSM_RRLN              ctrsm_RRLN
532 #define CTRSM_RCUU              ctrsm_RCUU
533 #define CTRSM_RCUN              ctrsm_RCUN
534 #define CTRSM_RCLU              ctrsm_RCLU
535 #define CTRSM_RCLN              ctrsm_RCLN
536
537 #define CGEMM_THREAD_NN         cgemm_thread_nn
538 #define CGEMM_THREAD_CN         cgemm_thread_cn
539 #define CGEMM_THREAD_TN         cgemm_thread_tn
540 #define CGEMM_THREAD_NC         cgemm_thread_nc
541 #define CGEMM_THREAD_NT         cgemm_thread_nt
542 #define CGEMM_THREAD_CC         cgemm_thread_cc
543 #define CGEMM_THREAD_CT         cgemm_thread_ct
544 #define CGEMM_THREAD_TC         cgemm_thread_tc
545 #define CGEMM_THREAD_TT         cgemm_thread_tt
546 #define CGEMM_THREAD_NR         cgemm_thread_nr
547 #define CGEMM_THREAD_TR         cgemm_thread_tr
548 #define CGEMM_THREAD_CR         cgemm_thread_cr
549 #define CGEMM_THREAD_RN         cgemm_thread_rn
550 #define CGEMM_THREAD_RT         cgemm_thread_rt
551 #define CGEMM_THREAD_RC         cgemm_thread_rc
552 #define CGEMM_THREAD_RR         cgemm_thread_rr
553
554 #define CSYMM_THREAD_LU         csymm_thread_LU
555 #define CSYMM_THREAD_LL         csymm_thread_LL
556 #define CSYMM_THREAD_RU         csymm_thread_RU
557 #define CSYMM_THREAD_RL         csymm_thread_RL
558
559 #define CHEMM_THREAD_LU         chemm_thread_LU
560 #define CHEMM_THREAD_LL         chemm_thread_LL
561 #define CHEMM_THREAD_RU         chemm_thread_RU
562 #define CHEMM_THREAD_RL         chemm_thread_RL
563
564 #define CSYRK_THREAD_UN         csyrk_thread_UN
565 #define CSYRK_THREAD_UT         csyrk_thread_UT
566 #define CSYRK_THREAD_LN         csyrk_thread_LN
567 #define CSYRK_THREAD_LT         csyrk_thread_LT
568 #define CSYRK_THREAD_UR         csyrk_thread_UN
569 #define CSYRK_THREAD_UC         csyrk_thread_UT
570 #define CSYRK_THREAD_LR         csyrk_thread_LN
571 #define CSYRK_THREAD_LC         csyrk_thread_LT
572
573 #define CHERK_THREAD_UN         cherk_thread_UN
574 #define CHERK_THREAD_UT         cherk_thread_UT
575 #define CHERK_THREAD_LN         cherk_thread_LN
576 #define CHERK_THREAD_LT         cherk_thread_LT
577 #define CHERK_THREAD_UR         cherk_thread_UR
578 #define CHERK_THREAD_UC         cherk_thread_UC
579 #define CHERK_THREAD_LR         cherk_thread_LR
580 #define CHERK_THREAD_LC         cherk_thread_LC
581
582 #define CGEMM3M_NN              cgemm3m_nn
583 #define CGEMM3M_CN              cgemm3m_cn
584 #define CGEMM3M_TN              cgemm3m_tn
585 #define CGEMM3M_NC              cgemm3m_nc
586 #define CGEMM3M_NT              cgemm3m_nt
587 #define CGEMM3M_CC              cgemm3m_cc
588 #define CGEMM3M_CT              cgemm3m_ct
589 #define CGEMM3M_TC              cgemm3m_tc
590 #define CGEMM3M_TT              cgemm3m_tt
591 #define CGEMM3M_NR              cgemm3m_nr
592 #define CGEMM3M_TR              cgemm3m_tr
593 #define CGEMM3M_CR              cgemm3m_cr
594 #define CGEMM3M_RN              cgemm3m_rn
595 #define CGEMM3M_RT              cgemm3m_rt
596 #define CGEMM3M_RC              cgemm3m_rc
597 #define CGEMM3M_RR              cgemm3m_rr
598
599 #define CGEMM3M_THREAD_NN       cgemm3m_thread_nn
600 #define CGEMM3M_THREAD_CN       cgemm3m_thread_cn
601 #define CGEMM3M_THREAD_TN       cgemm3m_thread_tn
602 #define CGEMM3M_THREAD_NC       cgemm3m_thread_nc
603 #define CGEMM3M_THREAD_NT       cgemm3m_thread_nt
604 #define CGEMM3M_THREAD_CC       cgemm3m_thread_cc
605 #define CGEMM3M_THREAD_CT       cgemm3m_thread_ct
606 #define CGEMM3M_THREAD_TC       cgemm3m_thread_tc
607 #define CGEMM3M_THREAD_TT       cgemm3m_thread_tt
608 #define CGEMM3M_THREAD_NR       cgemm3m_thread_nr
609 #define CGEMM3M_THREAD_TR       cgemm3m_thread_tr
610 #define CGEMM3M_THREAD_CR       cgemm3m_thread_cr
611 #define CGEMM3M_THREAD_RN       cgemm3m_thread_rn
612 #define CGEMM3M_THREAD_RT       cgemm3m_thread_rt
613 #define CGEMM3M_THREAD_RC       cgemm3m_thread_rc
614 #define CGEMM3M_THREAD_RR       cgemm3m_thread_rr
615
616 #define CSYMM3M_LU              csymm3m_LU
617 #define CSYMM3M_LL              csymm3m_LL
618 #define CSYMM3M_RU              csymm3m_RU
619 #define CSYMM3M_RL              csymm3m_RL
620
621 #define CSYMM3M_THREAD_LU       csymm3m_thread_LU
622 #define CSYMM3M_THREAD_LL       csymm3m_thread_LL
623 #define CSYMM3M_THREAD_RU       csymm3m_thread_RU
624 #define CSYMM3M_THREAD_RL       csymm3m_thread_RL
625
626 #define CHEMM3M_LU              chemm3m_LU
627 #define CHEMM3M_LL              chemm3m_LL
628 #define CHEMM3M_RU              chemm3m_RU
629 #define CHEMM3M_RL              chemm3m_RL
630
631 #define CHEMM3M_THREAD_LU       chemm3m_thread_LU
632 #define CHEMM3M_THREAD_LL       chemm3m_thread_LL
633 #define CHEMM3M_THREAD_RU       chemm3m_thread_RU
634 #define CHEMM3M_THREAD_RL       chemm3m_thread_RL
635
636 #endif