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.5 kB

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