You can not select more than 25 topics Topics must start with a chinese character,a letter or number, can include dashes ('-') and can be up to 35 characters long.

KERNEL 4.6 kB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238
  1. ifndef SAXPYKERNEL
  2. SAXPYKERNEL = ../arm/axpy.c
  3. endif
  4. ifndef DAXPYKERNEL
  5. DAXPYKERNEL = ../arm/axpy.c
  6. endif
  7. ifndef CAXPYKERNEL
  8. CAXPYKERNEL = ../arm/zaxpy.c
  9. endif
  10. ifndef ZAXPYKERNEL
  11. ZAXPYKERNEL = ../arm/zaxpy.c
  12. endif
  13. ifndef SROTKERNEL
  14. SROTKERNEL = ../arm/rot.c
  15. endif
  16. ifndef DROTKERNEL
  17. DROTKERNEL = ../arm/rot.c
  18. endif
  19. ifndef CROTKERNEL
  20. CROTKERNEL = ../arm/zrot.c
  21. endif
  22. ifndef ZROTKERNEL
  23. ZROTKERNEL = ../arm/zrot.c
  24. endif
  25. ifndef CSWAPKERNEL
  26. CSWAPKERNEL = ../arm/zswap.c
  27. endif
  28. ifndef ZSWAPKERNEL
  29. ZSWAPKERNEL = ../arm/zswap.c
  30. endif
  31. ifndef SSUMKERNEL
  32. SSUMKERNEL = ../arm/sum.c
  33. endif
  34. ifndef DSUMKERNEL
  35. DSUMKERNEL = ../arm/sum.c
  36. endif
  37. ifndef CSUMKERNEL
  38. CSUMKERNEL = ../arm/zsum.c
  39. endif
  40. ifndef ZSUMKERNEL
  41. ZSUMKERNEL = ../arm/zsum.c
  42. endif
  43. ifndef ISMAXKERNEL
  44. ISMAXKERNEL = ../arm/imax.c
  45. endif
  46. ifndef IDMAXKERNEL
  47. IDMAXKERNEL = ../arm/imax.c
  48. endif
  49. ifndef ISMINKERNEL
  50. ISMINKERNEL = ../arm/imin.c
  51. endif
  52. ifndef IDMINKERNEL
  53. IDMINKERNEL = ../arm/imin.c
  54. endif
  55. ifndef SNRM2KERNEL
  56. SNRM2KERNEL = snrm2.S
  57. endif
  58. ifndef DNRM2KERNEL
  59. DNRM2KERNEL = dnrm2.S
  60. endif
  61. ifndef CNRM2KERNEL
  62. CNRM2KERNEL = cnrm2.S
  63. endif
  64. ifndef ZNRM2KERNEL
  65. ZNRM2KERNEL = znrm2.S
  66. endif
  67. ifndef SCABS_KERNEL
  68. SCABS_KERNEL = ../generic/cabs.c
  69. endif
  70. ifndef DCABS_KERNEL
  71. DCABS_KERNEL = ../generic/cabs.c
  72. endif
  73. ifndef QCABS_KERNEL
  74. QCABS_KERNEL = ../generic/cabs.c
  75. endif
  76. ifndef LSAME_KERNEL
  77. LSAME_KERNEL = ../generic/lsame.c
  78. endif
  79. ifndef SGEMMKERNEL
  80. SGEMMKERNEL = gemm_kernel.S
  81. SGEMMINCOPY = ../generic/gemm_ncopy_2.c
  82. SGEMMITCOPY = ../generic/gemm_tcopy_2.c
  83. SGEMMONCOPY = ../generic/gemm_ncopy_8.c
  84. SGEMMOTCOPY = ../generic/gemm_tcopy_8.c
  85. SGEMMINCOPYOBJ = sgemm_incopy$(TSUFFIX).$(SUFFIX)
  86. SGEMMITCOPYOBJ = sgemm_itcopy$(TSUFFIX).$(SUFFIX)
  87. SGEMMONCOPYOBJ = sgemm_oncopy$(TSUFFIX).$(SUFFIX)
  88. SGEMMOTCOPYOBJ = sgemm_otcopy$(TSUFFIX).$(SUFFIX)
  89. endif
  90. ifndef DGEMMKERNEL
  91. DGEMMKERNEL = gemm_kernel.S
  92. DGEMMINCOPY = ../generic/gemm_ncopy_2.c
  93. DGEMMITCOPY = ../generic/gemm_tcopy_2.c
  94. DGEMMONCOPY = ../generic/gemm_ncopy_8.c
  95. DGEMMOTCOPY = ../generic/gemm_tcopy_8.c
  96. DGEMMINCOPYOBJ = dgemm_incopy$(TSUFFIX).$(SUFFIX)
  97. DGEMMITCOPYOBJ = dgemm_itcopy$(TSUFFIX).$(SUFFIX)
  98. DGEMMONCOPYOBJ = dgemm_oncopy$(TSUFFIX).$(SUFFIX)
  99. DGEMMOTCOPYOBJ = dgemm_otcopy$(TSUFFIX).$(SUFFIX)
  100. endif
  101. ifndef CGEMMKERNEL
  102. CGEMMKERNEL = zgemm_kernel.S
  103. CGEMMINCOPY = ../generic/zgemm_ncopy_1.c
  104. CGEMMITCOPY = ../generic/zgemm_tcopy_1.c
  105. CGEMMONCOPY = ../generic/zgemm_ncopy_4.c
  106. CGEMMOTCOPY = ../generic/zgemm_tcopy_4.c
  107. CGEMMINCOPYOBJ = cgemm_incopy$(TSUFFIX).$(SUFFIX)
  108. CGEMMITCOPYOBJ = cgemm_itcopy$(TSUFFIX).$(SUFFIX)
  109. CGEMMONCOPYOBJ = cgemm_oncopy$(TSUFFIX).$(SUFFIX)
  110. CGEMMOTCOPYOBJ = cgemm_otcopy$(TSUFFIX).$(SUFFIX)
  111. endif
  112. ifndef ZGEMMKERNEL
  113. ZGEMMKERNEL = zgemm_kernel.S
  114. ZGEMMINCOPY = ../generic/zgemm_ncopy_1.c
  115. ZGEMMITCOPY = ../generic/zgemm_tcopy_1.c
  116. ZGEMMONCOPY = ../generic/zgemm_ncopy_4.c
  117. ZGEMMOTCOPY = ../generic/zgemm_tcopy_4.c
  118. ZGEMMINCOPYOBJ = zgemm_incopy$(TSUFFIX).$(SUFFIX)
  119. ZGEMMITCOPYOBJ = zgemm_itcopy$(TSUFFIX).$(SUFFIX)
  120. ZGEMMONCOPYOBJ = zgemm_oncopy$(TSUFFIX).$(SUFFIX)
  121. ZGEMMOTCOPYOBJ = zgemm_otcopy$(TSUFFIX).$(SUFFIX)
  122. endif
  123. ifndef SGEMM_BETA
  124. SGEMM_BETA = ../generic/gemm_beta.c
  125. endif
  126. ifndef DGEMM_BETA
  127. DGEMM_BETA = ../generic/gemm_beta.c
  128. endif
  129. ifndef CGEMM_BETA
  130. CGEMM_BETA = ../generic/zgemm_beta.c
  131. endif
  132. ifndef ZGEMM_BETA
  133. ZGEMM_BETA = ../generic/zgemm_beta.c
  134. endif
  135. ifndef STRSMKERNEL_LN
  136. STRSMKERNEL_LN = trsm_kernel_LN.S
  137. endif
  138. ifndef STRSMKERNEL_LT
  139. STRSMKERNEL_LT = trsm_kernel_LT.S
  140. endif
  141. ifndef STRSMKERNEL_RN
  142. STRSMKERNEL_RN = trsm_kernel_LT.S
  143. endif
  144. ifndef STRSMKERNEL_RT
  145. STRSMKERNEL_RT = trsm_kernel_RT.S
  146. endif
  147. ifndef DTRSMKERNEL_LN
  148. DTRSMKERNEL_LN = trsm_kernel_LN.S
  149. endif
  150. ifndef DTRSMKERNEL_LT
  151. DTRSMKERNEL_LT = trsm_kernel_LT.S
  152. endif
  153. ifndef DTRSMKERNEL_RN
  154. DTRSMKERNEL_RN = trsm_kernel_LT.S
  155. endif
  156. ifndef DTRSMKERNEL_RT
  157. DTRSMKERNEL_RT = trsm_kernel_RT.S
  158. endif
  159. ifndef CTRSMKERNEL_LN
  160. CTRSMKERNEL_LN = ztrsm_kernel_LT.S
  161. endif
  162. ifndef CTRSMKERNEL_LT
  163. CTRSMKERNEL_LT = ztrsm_kernel_LT.S
  164. endif
  165. ifndef CTRSMKERNEL_RN
  166. CTRSMKERNEL_RN = ztrsm_kernel_LT.S
  167. endif
  168. ifndef CTRSMKERNEL_RT
  169. CTRSMKERNEL_RT = ztrsm_kernel_RT.S
  170. endif
  171. ifndef ZTRSMKERNEL_LN
  172. ZTRSMKERNEL_LN = ztrsm_kernel_LT.S
  173. endif
  174. ifndef ZTRSMKERNEL_LT
  175. ZTRSMKERNEL_LT = ztrsm_kernel_LT.S
  176. endif
  177. ifndef ZTRSMKERNEL_RN
  178. ZTRSMKERNEL_RN = ztrsm_kernel_LT.S
  179. endif
  180. ifndef ZTRSMKERNEL_RT
  181. ZTRSMKERNEL_RT = ztrsm_kernel_RT.S
  182. endif
  183. ifndef CGEMM3MKERNEL
  184. CGEMM3MKERNEL = zgemm3m_kernel.S
  185. endif
  186. ifndef ZGEMM3MKERNEL
  187. ZGEMM3MKERNEL = zgemm3m_kernel.S
  188. endif
  189. DSDOTKERNEL = dot.S