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.

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