Add an AVX512 enabled DSCAL function
[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 CIMATCOPY_K_CN          cimatcopy_k_cn
224 #define CIMATCOPY_K_RN          cimatcopy_k_rn
225 #define CIMATCOPY_K_CT          cimatcopy_k_ct
226 #define CIMATCOPY_K_RT          cimatcopy_k_rt
227 #define CIMATCOPY_K_CNC         cimatcopy_k_cnc
228 #define CIMATCOPY_K_RNC         cimatcopy_k_rnc
229 #define CIMATCOPY_K_CTC         cimatcopy_k_ctc
230 #define CIMATCOPY_K_RTC         cimatcopy_k_rtc
231
232 #define CGEADD_K                cgeadd_k 
233
234 #else
235
236 #define CAMAX_K                 gotoblas -> camax_k
237 #define CAMIN_K                 gotoblas -> camin_k
238 #define CMAX_K                  gotoblas -> cmax_k
239 #define CMIN_K                  gotoblas -> cmin_k
240 #define ICAMAX_K                gotoblas -> icamax_k
241 #define ICAMIN_K                gotoblas -> icamin_k
242 #define ICMAX_K                 gotoblas -> icmax_k
243 #define ICMIN_K                 gotoblas -> icmin_k
244 #define CASUM_K                 gotoblas -> casum_k
245 #define CAXPYU_K                gotoblas -> caxpy_k
246 #define CAXPYC_K                gotoblas -> caxpyc_k
247 #define CCOPY_K                 gotoblas -> ccopy_k
248 #define CDOTU_K                 gotoblas -> cdotu_k
249 #define CDOTC_K                 gotoblas -> cdotc_k
250 #define CNRM2_K                 gotoblas -> cnrm2_k
251 #define CSCAL_K                 gotoblas -> cscal_k
252 #define CSWAP_K                 gotoblas -> cswap_k
253 #define CROT_K                  gotoblas -> csrot_k
254
255 #define CGEMV_N                 gotoblas -> cgemv_n
256 #define CGEMV_T                 gotoblas -> cgemv_t
257 #define CGEMV_R                 gotoblas -> cgemv_r
258 #define CGEMV_C                 gotoblas -> cgemv_c
259 #define CGEMV_O                 gotoblas -> cgemv_o
260 #define CGEMV_U                 gotoblas -> cgemv_u
261 #define CGEMV_S                 gotoblas -> cgemv_s
262 #define CGEMV_D                 gotoblas -> cgemv_d
263
264 #define CGERU_K                 gotoblas -> cgeru_k
265 #define CGERC_K                 gotoblas -> cgerc_k
266 #define CGERV_K                 gotoblas -> cgerv_k
267 #define CGERD_K                 gotoblas -> cgerd_k
268
269 #define CSYMV_U                 gotoblas -> csymv_U
270 #define CSYMV_L                 gotoblas -> csymv_L
271 #define CHEMV_U                 gotoblas -> chemv_U
272 #define CHEMV_L                 gotoblas -> chemv_L
273 #define CHEMV_V                 gotoblas -> chemv_V
274 #define CHEMV_M                 gotoblas -> chemv_M
275
276 #define CSYMV_THREAD_U          csymv_thread_U
277 #define CSYMV_THREAD_L          csymv_thread_L
278 #define CHEMV_THREAD_U          chemv_thread_U
279 #define CHEMV_THREAD_L          chemv_thread_L
280 #define CHEMV_THREAD_V          chemv_thread_V
281 #define CHEMV_THREAD_M          chemv_thread_M
282
283 #define CGEMM_ONCOPY            gotoblas -> cgemm_oncopy
284 #define CGEMM_OTCOPY            gotoblas -> cgemm_otcopy
285 #define CGEMM_INCOPY            gotoblas -> cgemm_incopy
286 #define CGEMM_ITCOPY            gotoblas -> cgemm_itcopy
287
288 #define CTRMM_OUNUCOPY          gotoblas -> ctrmm_ounucopy
289 #define CTRMM_OUTUCOPY          gotoblas -> ctrmm_outucopy
290 #define CTRMM_OLNUCOPY          gotoblas -> ctrmm_olnucopy
291 #define CTRMM_OLTUCOPY          gotoblas -> ctrmm_oltucopy
292 #define CTRSM_OUNUCOPY          gotoblas -> ctrsm_ounucopy
293 #define CTRSM_OUTUCOPY          gotoblas -> ctrsm_outucopy
294 #define CTRSM_OLNUCOPY          gotoblas -> ctrsm_olnucopy
295 #define CTRSM_OLTUCOPY          gotoblas -> ctrsm_oltucopy
296
297 #define CTRMM_IUNUCOPY          gotoblas -> ctrmm_iunucopy
298 #define CTRMM_IUTUCOPY          gotoblas -> ctrmm_iutucopy
299 #define CTRMM_ILNUCOPY          gotoblas -> ctrmm_ilnucopy
300 #define CTRMM_ILTUCOPY          gotoblas -> ctrmm_iltucopy
301 #define CTRSM_IUNUCOPY          gotoblas -> ctrsm_iunucopy
302 #define CTRSM_IUTUCOPY          gotoblas -> ctrsm_iutucopy
303 #define CTRSM_ILNUCOPY          gotoblas -> ctrsm_ilnucopy
304 #define CTRSM_ILTUCOPY          gotoblas -> ctrsm_iltucopy
305
306 #define CTRMM_OUNNCOPY          gotoblas -> ctrmm_ounncopy
307 #define CTRMM_OUTNCOPY          gotoblas -> ctrmm_outncopy
308 #define CTRMM_OLNNCOPY          gotoblas -> ctrmm_olnncopy
309 #define CTRMM_OLTNCOPY          gotoblas -> ctrmm_oltncopy
310 #define CTRSM_OUNNCOPY          gotoblas -> ctrsm_ounncopy
311 #define CTRSM_OUTNCOPY          gotoblas -> ctrsm_outncopy
312 #define CTRSM_OLNNCOPY          gotoblas -> ctrsm_olnncopy
313 #define CTRSM_OLTNCOPY          gotoblas -> ctrsm_oltncopy
314
315 #define CTRMM_IUNNCOPY          gotoblas -> ctrmm_iunncopy
316 #define CTRMM_IUTNCOPY          gotoblas -> ctrmm_iutncopy
317 #define CTRMM_ILNNCOPY          gotoblas -> ctrmm_ilnncopy
318 #define CTRMM_ILTNCOPY          gotoblas -> ctrmm_iltncopy
319 #define CTRSM_IUNNCOPY          gotoblas -> ctrsm_iunncopy
320 #define CTRSM_IUTNCOPY          gotoblas -> ctrsm_iutncopy
321 #define CTRSM_ILNNCOPY          gotoblas -> ctrsm_ilnncopy
322 #define CTRSM_ILTNCOPY          gotoblas -> ctrsm_iltncopy
323
324 #define CGEMM_BETA              gotoblas -> cgemm_beta
325 #define CGEMM_KERNEL_N          gotoblas -> cgemm_kernel_n
326 #define CGEMM_KERNEL_L          gotoblas -> cgemm_kernel_l
327 #define CGEMM_KERNEL_R          gotoblas -> cgemm_kernel_r
328 #define CGEMM_KERNEL_B          gotoblas -> cgemm_kernel_b
329
330 #define CTRMM_KERNEL_LN         gotoblas -> ctrmm_kernel_LN
331 #define CTRMM_KERNEL_LT         gotoblas -> ctrmm_kernel_LT
332 #define CTRMM_KERNEL_LR         gotoblas -> ctrmm_kernel_LR
333 #define CTRMM_KERNEL_LC         gotoblas -> ctrmm_kernel_LC
334 #define CTRMM_KERNEL_RN         gotoblas -> ctrmm_kernel_RN
335 #define CTRMM_KERNEL_RT         gotoblas -> ctrmm_kernel_RT
336 #define CTRMM_KERNEL_RR         gotoblas -> ctrmm_kernel_RR
337 #define CTRMM_KERNEL_RC         gotoblas -> ctrmm_kernel_RC
338
339 #define CTRSM_KERNEL_LN         gotoblas -> ctrsm_kernel_LN
340 #define CTRSM_KERNEL_LT         gotoblas -> ctrsm_kernel_LT
341 #define CTRSM_KERNEL_LR         gotoblas -> ctrsm_kernel_LR
342 #define CTRSM_KERNEL_LC         gotoblas -> ctrsm_kernel_LC
343 #define CTRSM_KERNEL_RN         gotoblas -> ctrsm_kernel_RN
344 #define CTRSM_KERNEL_RT         gotoblas -> ctrsm_kernel_RT
345 #define CTRSM_KERNEL_RR         gotoblas -> ctrsm_kernel_RR
346 #define CTRSM_KERNEL_RC         gotoblas -> ctrsm_kernel_RC
347
348 #define CSYMM_IUTCOPY           gotoblas -> csymm_iutcopy
349 #define CSYMM_ILTCOPY           gotoblas -> csymm_iltcopy
350 #define CSYMM_OUTCOPY           gotoblas -> csymm_outcopy
351 #define CSYMM_OLTCOPY           gotoblas -> csymm_oltcopy
352
353 #define CHEMM_OUTCOPY           gotoblas -> chemm_outcopy
354 #define CHEMM_OLTCOPY           gotoblas -> chemm_oltcopy
355 #define CHEMM_IUTCOPY           gotoblas -> chemm_iutcopy
356 #define CHEMM_ILTCOPY           gotoblas -> chemm_iltcopy
357
358 #define CGEMM3M_ONCOPYB         gotoblas -> cgemm3m_oncopyb
359 #define CGEMM3M_ONCOPYR         gotoblas -> cgemm3m_oncopyr
360 #define CGEMM3M_ONCOPYI         gotoblas -> cgemm3m_oncopyi
361 #define CGEMM3M_OTCOPYB         gotoblas -> cgemm3m_otcopyb
362 #define CGEMM3M_OTCOPYR         gotoblas -> cgemm3m_otcopyr
363 #define CGEMM3M_OTCOPYI         gotoblas -> cgemm3m_otcopyi
364
365 #define CGEMM3M_INCOPYB         gotoblas -> cgemm3m_incopyb
366 #define CGEMM3M_INCOPYR         gotoblas -> cgemm3m_incopyr
367 #define CGEMM3M_INCOPYI         gotoblas -> cgemm3m_incopyi
368 #define CGEMM3M_ITCOPYB         gotoblas -> cgemm3m_itcopyb
369 #define CGEMM3M_ITCOPYR         gotoblas -> cgemm3m_itcopyr
370 #define CGEMM3M_ITCOPYI         gotoblas -> cgemm3m_itcopyi
371
372 #define CSYMM3M_ILCOPYB         gotoblas -> csymm3m_ilcopyb
373 #define CSYMM3M_IUCOPYB         gotoblas -> csymm3m_iucopyb
374 #define CSYMM3M_ILCOPYR         gotoblas -> csymm3m_ilcopyr
375 #define CSYMM3M_IUCOPYR         gotoblas -> csymm3m_iucopyr
376 #define CSYMM3M_ILCOPYI         gotoblas -> csymm3m_ilcopyi
377 #define CSYMM3M_IUCOPYI         gotoblas -> csymm3m_iucopyi
378
379 #define CSYMM3M_OLCOPYB         gotoblas -> csymm3m_olcopyb
380 #define CSYMM3M_OUCOPYB         gotoblas -> csymm3m_oucopyb
381 #define CSYMM3M_OLCOPYR         gotoblas -> csymm3m_olcopyr
382 #define CSYMM3M_OUCOPYR         gotoblas -> csymm3m_oucopyr
383 #define CSYMM3M_OLCOPYI         gotoblas -> csymm3m_olcopyi
384 #define CSYMM3M_OUCOPYI         gotoblas -> csymm3m_oucopyi
385
386 #define CHEMM3M_ILCOPYB         gotoblas -> chemm3m_ilcopyb
387 #define CHEMM3M_IUCOPYB         gotoblas -> chemm3m_iucopyb
388 #define CHEMM3M_ILCOPYR         gotoblas -> chemm3m_ilcopyr
389 #define CHEMM3M_IUCOPYR         gotoblas -> chemm3m_iucopyr
390 #define CHEMM3M_ILCOPYI         gotoblas -> chemm3m_ilcopyi
391 #define CHEMM3M_IUCOPYI         gotoblas -> chemm3m_iucopyi
392
393 #define CHEMM3M_OLCOPYB         gotoblas -> chemm3m_olcopyb
394 #define CHEMM3M_OUCOPYB         gotoblas -> chemm3m_oucopyb
395 #define CHEMM3M_OLCOPYR         gotoblas -> chemm3m_olcopyr
396 #define CHEMM3M_OUCOPYR         gotoblas -> chemm3m_oucopyr
397 #define CHEMM3M_OLCOPYI         gotoblas -> chemm3m_olcopyi
398 #define CHEMM3M_OUCOPYI         gotoblas -> chemm3m_oucopyi
399
400 #define CGEMM3M_KERNEL          gotoblas -> cgemm3m_kernel
401
402 #define CNEG_TCOPY              gotoblas -> cneg_tcopy
403 #define CLASWP_NCOPY            gotoblas -> claswp_ncopy
404
405 #define CAXPBY_K                gotoblas -> caxpby_k
406
407 #define COMATCOPY_K_CN          gotoblas -> comatcopy_k_cn
408 #define COMATCOPY_K_RN          gotoblas -> comatcopy_k_rn
409 #define COMATCOPY_K_CT          gotoblas -> comatcopy_k_ct
410 #define COMATCOPY_K_RT          gotoblas -> comatcopy_k_rt
411 #define COMATCOPY_K_CNC         gotoblas -> comatcopy_k_cnc
412 #define COMATCOPY_K_RNC         gotoblas -> comatcopy_k_rnc
413 #define COMATCOPY_K_CTC         gotoblas -> comatcopy_k_ctc
414 #define COMATCOPY_K_RTC         gotoblas -> comatcopy_k_rtc
415
416 #define CIMATCOPY_K_CN          gotoblas -> cimatcopy_k_cn
417 #define CIMATCOPY_K_RN          gotoblas -> cimatcopy_k_rn
418 #define CIMATCOPY_K_CT          gotoblas -> cimatcopy_k_ct
419 #define CIMATCOPY_K_RT          gotoblas -> cimatcopy_k_rt
420 #define CIMATCOPY_K_CNC         gotoblas -> cimatcopy_k_cnc
421 #define CIMATCOPY_K_RNC         gotoblas -> cimatcopy_k_rnc
422 #define CIMATCOPY_K_CTC         gotoblas -> cimatcopy_k_ctc
423 #define CIMATCOPY_K_RTC         gotoblas -> cimatcopy_k_rtc
424
425 #define CGEADD_K                gotoblas -> cgeadd_k 
426
427 #endif
428
429 #define CGEMM_NN                cgemm_nn
430 #define CGEMM_CN                cgemm_cn
431 #define CGEMM_TN                cgemm_tn
432 #define CGEMM_NC                cgemm_nc
433 #define CGEMM_NT                cgemm_nt
434 #define CGEMM_CC                cgemm_cc
435 #define CGEMM_CT                cgemm_ct
436 #define CGEMM_TC                cgemm_tc
437 #define CGEMM_TT                cgemm_tt
438 #define CGEMM_NR                cgemm_nr
439 #define CGEMM_TR                cgemm_tr
440 #define CGEMM_CR                cgemm_cr
441 #define CGEMM_RN                cgemm_rn
442 #define CGEMM_RT                cgemm_rt
443 #define CGEMM_RC                cgemm_rc
444 #define CGEMM_RR                cgemm_rr
445
446 #define CSYMM_LU                csymm_LU
447 #define CSYMM_LL                csymm_LL
448 #define CSYMM_RU                csymm_RU
449 #define CSYMM_RL                csymm_RL
450
451 #define CHEMM_LU                chemm_LU
452 #define CHEMM_LL                chemm_LL
453 #define CHEMM_RU                chemm_RU
454 #define CHEMM_RL                chemm_RL
455
456 #define CSYRK_UN                csyrk_UN
457 #define CSYRK_UT                csyrk_UT
458 #define CSYRK_LN                csyrk_LN
459 #define CSYRK_LT                csyrk_LT
460 #define CSYRK_UR                csyrk_UN
461 #define CSYRK_UC                csyrk_UT
462 #define CSYRK_LR                csyrk_LN
463 #define CSYRK_LC                csyrk_LT
464
465 #define CSYRK_KERNEL_U          csyrk_kernel_U
466 #define CSYRK_KERNEL_L          csyrk_kernel_L
467
468 #define CHERK_UN                cherk_UN
469 #define CHERK_LN                cherk_LN
470 #define CHERK_UC                cherk_UC
471 #define CHERK_LC                cherk_LC
472
473 #define CHER2K_UN               cher2k_UN
474 #define CHER2K_LN               cher2k_LN
475 #define CHER2K_UC               cher2k_UC
476 #define CHER2K_LC               cher2k_LC
477
478 #define CSYR2K_UN               csyr2k_UN
479 #define CSYR2K_UT               csyr2k_UT
480 #define CSYR2K_LN               csyr2k_LN
481 #define CSYR2K_LT               csyr2k_LT
482 #define CSYR2K_UR               csyr2k_UN
483 #define CSYR2K_UC               csyr2k_UT
484 #define CSYR2K_LR               csyr2k_LN
485 #define CSYR2K_LC               csyr2k_LT
486
487 #define CSYR2K_KERNEL_U         csyr2k_kernel_U
488 #define CSYR2K_KERNEL_L         csyr2k_kernel_L
489
490 #define CTRMM_LNUU              ctrmm_LNUU
491 #define CTRMM_LNUN              ctrmm_LNUN
492 #define CTRMM_LNLU              ctrmm_LNLU
493 #define CTRMM_LNLN              ctrmm_LNLN
494 #define CTRMM_LTUU              ctrmm_LTUU
495 #define CTRMM_LTUN              ctrmm_LTUN
496 #define CTRMM_LTLU              ctrmm_LTLU
497 #define CTRMM_LTLN              ctrmm_LTLN
498 #define CTRMM_LRUU              ctrmm_LRUU
499 #define CTRMM_LRUN              ctrmm_LRUN
500 #define CTRMM_LRLU              ctrmm_LRLU
501 #define CTRMM_LRLN              ctrmm_LRLN
502 #define CTRMM_LCUU              ctrmm_LCUU
503 #define CTRMM_LCUN              ctrmm_LCUN
504 #define CTRMM_LCLU              ctrmm_LCLU
505 #define CTRMM_LCLN              ctrmm_LCLN
506 #define CTRMM_RNUU              ctrmm_RNUU
507 #define CTRMM_RNUN              ctrmm_RNUN
508 #define CTRMM_RNLU              ctrmm_RNLU
509 #define CTRMM_RNLN              ctrmm_RNLN
510 #define CTRMM_RTUU              ctrmm_RTUU
511 #define CTRMM_RTUN              ctrmm_RTUN
512 #define CTRMM_RTLU              ctrmm_RTLU
513 #define CTRMM_RTLN              ctrmm_RTLN
514 #define CTRMM_RRUU              ctrmm_RRUU
515 #define CTRMM_RRUN              ctrmm_RRUN
516 #define CTRMM_RRLU              ctrmm_RRLU
517 #define CTRMM_RRLN              ctrmm_RRLN
518 #define CTRMM_RCUU              ctrmm_RCUU
519 #define CTRMM_RCUN              ctrmm_RCUN
520 #define CTRMM_RCLU              ctrmm_RCLU
521 #define CTRMM_RCLN              ctrmm_RCLN
522
523 #define CTRSM_LNUU              ctrsm_LNUU
524 #define CTRSM_LNUN              ctrsm_LNUN
525 #define CTRSM_LNLU              ctrsm_LNLU
526 #define CTRSM_LNLN              ctrsm_LNLN
527 #define CTRSM_LTUU              ctrsm_LTUU
528 #define CTRSM_LTUN              ctrsm_LTUN
529 #define CTRSM_LTLU              ctrsm_LTLU
530 #define CTRSM_LTLN              ctrsm_LTLN
531 #define CTRSM_LRUU              ctrsm_LRUU
532 #define CTRSM_LRUN              ctrsm_LRUN
533 #define CTRSM_LRLU              ctrsm_LRLU
534 #define CTRSM_LRLN              ctrsm_LRLN
535 #define CTRSM_LCUU              ctrsm_LCUU
536 #define CTRSM_LCUN              ctrsm_LCUN
537 #define CTRSM_LCLU              ctrsm_LCLU
538 #define CTRSM_LCLN              ctrsm_LCLN
539 #define CTRSM_RNUU              ctrsm_RNUU
540 #define CTRSM_RNUN              ctrsm_RNUN
541 #define CTRSM_RNLU              ctrsm_RNLU
542 #define CTRSM_RNLN              ctrsm_RNLN
543 #define CTRSM_RTUU              ctrsm_RTUU
544 #define CTRSM_RTUN              ctrsm_RTUN
545 #define CTRSM_RTLU              ctrsm_RTLU
546 #define CTRSM_RTLN              ctrsm_RTLN
547 #define CTRSM_RRUU              ctrsm_RRUU
548 #define CTRSM_RRUN              ctrsm_RRUN
549 #define CTRSM_RRLU              ctrsm_RRLU
550 #define CTRSM_RRLN              ctrsm_RRLN
551 #define CTRSM_RCUU              ctrsm_RCUU
552 #define CTRSM_RCUN              ctrsm_RCUN
553 #define CTRSM_RCLU              ctrsm_RCLU
554 #define CTRSM_RCLN              ctrsm_RCLN
555
556 #define CGEMM_THREAD_NN         cgemm_thread_nn
557 #define CGEMM_THREAD_CN         cgemm_thread_cn
558 #define CGEMM_THREAD_TN         cgemm_thread_tn
559 #define CGEMM_THREAD_NC         cgemm_thread_nc
560 #define CGEMM_THREAD_NT         cgemm_thread_nt
561 #define CGEMM_THREAD_CC         cgemm_thread_cc
562 #define CGEMM_THREAD_CT         cgemm_thread_ct
563 #define CGEMM_THREAD_TC         cgemm_thread_tc
564 #define CGEMM_THREAD_TT         cgemm_thread_tt
565 #define CGEMM_THREAD_NR         cgemm_thread_nr
566 #define CGEMM_THREAD_TR         cgemm_thread_tr
567 #define CGEMM_THREAD_CR         cgemm_thread_cr
568 #define CGEMM_THREAD_RN         cgemm_thread_rn
569 #define CGEMM_THREAD_RT         cgemm_thread_rt
570 #define CGEMM_THREAD_RC         cgemm_thread_rc
571 #define CGEMM_THREAD_RR         cgemm_thread_rr
572
573 #define CSYMM_THREAD_LU         csymm_thread_LU
574 #define CSYMM_THREAD_LL         csymm_thread_LL
575 #define CSYMM_THREAD_RU         csymm_thread_RU
576 #define CSYMM_THREAD_RL         csymm_thread_RL
577
578 #define CHEMM_THREAD_LU         chemm_thread_LU
579 #define CHEMM_THREAD_LL         chemm_thread_LL
580 #define CHEMM_THREAD_RU         chemm_thread_RU
581 #define CHEMM_THREAD_RL         chemm_thread_RL
582
583 #define CSYRK_THREAD_UN         csyrk_thread_UN
584 #define CSYRK_THREAD_UT         csyrk_thread_UT
585 #define CSYRK_THREAD_LN         csyrk_thread_LN
586 #define CSYRK_THREAD_LT         csyrk_thread_LT
587 #define CSYRK_THREAD_UR         csyrk_thread_UN
588 #define CSYRK_THREAD_UC         csyrk_thread_UT
589 #define CSYRK_THREAD_LR         csyrk_thread_LN
590 #define CSYRK_THREAD_LC         csyrk_thread_LT
591
592 #define CHERK_THREAD_UN         cherk_thread_UN
593 #define CHERK_THREAD_UT         cherk_thread_UT
594 #define CHERK_THREAD_LN         cherk_thread_LN
595 #define CHERK_THREAD_LT         cherk_thread_LT
596 #define CHERK_THREAD_UR         cherk_thread_UR
597 #define CHERK_THREAD_UC         cherk_thread_UC
598 #define CHERK_THREAD_LR         cherk_thread_LR
599 #define CHERK_THREAD_LC         cherk_thread_LC
600
601 #define CGEMM3M_NN              cgemm3m_nn
602 #define CGEMM3M_CN              cgemm3m_cn
603 #define CGEMM3M_TN              cgemm3m_tn
604 #define CGEMM3M_NC              cgemm3m_nc
605 #define CGEMM3M_NT              cgemm3m_nt
606 #define CGEMM3M_CC              cgemm3m_cc
607 #define CGEMM3M_CT              cgemm3m_ct
608 #define CGEMM3M_TC              cgemm3m_tc
609 #define CGEMM3M_TT              cgemm3m_tt
610 #define CGEMM3M_NR              cgemm3m_nr
611 #define CGEMM3M_TR              cgemm3m_tr
612 #define CGEMM3M_CR              cgemm3m_cr
613 #define CGEMM3M_RN              cgemm3m_rn
614 #define CGEMM3M_RT              cgemm3m_rt
615 #define CGEMM3M_RC              cgemm3m_rc
616 #define CGEMM3M_RR              cgemm3m_rr
617
618 #define CGEMM3M_THREAD_NN       cgemm3m_thread_nn
619 #define CGEMM3M_THREAD_CN       cgemm3m_thread_cn
620 #define CGEMM3M_THREAD_TN       cgemm3m_thread_tn
621 #define CGEMM3M_THREAD_NC       cgemm3m_thread_nc
622 #define CGEMM3M_THREAD_NT       cgemm3m_thread_nt
623 #define CGEMM3M_THREAD_CC       cgemm3m_thread_cc
624 #define CGEMM3M_THREAD_CT       cgemm3m_thread_ct
625 #define CGEMM3M_THREAD_TC       cgemm3m_thread_tc
626 #define CGEMM3M_THREAD_TT       cgemm3m_thread_tt
627 #define CGEMM3M_THREAD_NR       cgemm3m_thread_nr
628 #define CGEMM3M_THREAD_TR       cgemm3m_thread_tr
629 #define CGEMM3M_THREAD_CR       cgemm3m_thread_cr
630 #define CGEMM3M_THREAD_RN       cgemm3m_thread_rn
631 #define CGEMM3M_THREAD_RT       cgemm3m_thread_rt
632 #define CGEMM3M_THREAD_RC       cgemm3m_thread_rc
633 #define CGEMM3M_THREAD_RR       cgemm3m_thread_rr
634
635 #define CSYMM3M_LU              csymm3m_LU
636 #define CSYMM3M_LL              csymm3m_LL
637 #define CSYMM3M_RU              csymm3m_RU
638 #define CSYMM3M_RL              csymm3m_RL
639
640 #define CSYMM3M_THREAD_LU       csymm3m_thread_LU
641 #define CSYMM3M_THREAD_LL       csymm3m_thread_LL
642 #define CSYMM3M_THREAD_RU       csymm3m_thread_RU
643 #define CSYMM3M_THREAD_RL       csymm3m_thread_RL
644
645 #define CHEMM3M_LU              chemm3m_LU
646 #define CHEMM3M_LL              chemm3m_LL
647 #define CHEMM3M_RU              chemm3m_RU
648 #define CHEMM3M_RL              chemm3m_RL
649
650 #define CHEMM3M_THREAD_LU       chemm3m_thread_LU
651 #define CHEMM3M_THREAD_LL       chemm3m_thread_LL
652 #define CHEMM3M_THREAD_RU       chemm3m_thread_RU
653 #define CHEMM3M_THREAD_RL       chemm3m_thread_RL
654
655 #endif