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