Skip to content

Commit caf3394

Browse files
author
Ashwin Sekhar T K
committed
ARM64: Remove dependency of THUNDERX2T99 Makefile on CORTEXA57 Makefile
1 parent 8001fdc commit caf3394

File tree

1 file changed

+135
-2
lines changed

1 file changed

+135
-2
lines changed

kernel/arm64/KERNEL.THUNDERX2T99

Lines changed: 135 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,137 @@
1-
include $(KERNELDIR)/KERNEL.CORTEXA57
1+
SAMINKERNEL = ../arm/amin.c
2+
DAMINKERNEL = ../arm/amin.c
3+
CAMINKERNEL = ../arm/zamin.c
4+
ZAMINKERNEL = ../arm/zamin.c
5+
6+
SMAXKERNEL = ../arm/max.c
7+
DMAXKERNEL = ../arm/max.c
8+
9+
SMINKERNEL = ../arm/min.c
10+
DMINKERNEL = ../arm/min.c
11+
12+
ISAMINKERNEL = ../arm/iamin.c
13+
IDAMINKERNEL = ../arm/iamin.c
14+
ICAMINKERNEL = ../arm/izamin.c
15+
IZAMINKERNEL = ../arm/izamin.c
16+
17+
ISMAXKERNEL = ../arm/imax.c
18+
IDMAXKERNEL = ../arm/imax.c
19+
20+
ISMINKERNEL = ../arm/imin.c
21+
IDMINKERNEL = ../arm/imin.c
22+
23+
STRSMKERNEL_LN = ../generic/trsm_kernel_LN.c
24+
STRSMKERNEL_LT = ../generic/trsm_kernel_LT.c
25+
STRSMKERNEL_RN = ../generic/trsm_kernel_RN.c
26+
STRSMKERNEL_RT = ../generic/trsm_kernel_RT.c
27+
28+
DTRSMKERNEL_LN = ../generic/trsm_kernel_LN.c
29+
DTRSMKERNEL_LT = ../generic/trsm_kernel_LT.c
30+
DTRSMKERNEL_RN = ../generic/trsm_kernel_RN.c
31+
DTRSMKERNEL_RT = ../generic/trsm_kernel_RT.c
32+
33+
CTRSMKERNEL_LN = ../generic/trsm_kernel_LN.c
34+
CTRSMKERNEL_LT = ../generic/trsm_kernel_LT.c
35+
CTRSMKERNEL_RN = ../generic/trsm_kernel_RN.c
36+
CTRSMKERNEL_RT = ../generic/trsm_kernel_RT.c
37+
38+
ZTRSMKERNEL_LN = ../generic/trsm_kernel_LN.c
39+
ZTRSMKERNEL_LT = ../generic/trsm_kernel_LT.c
40+
ZTRSMKERNEL_RN = ../generic/trsm_kernel_RN.c
41+
ZTRSMKERNEL_RT = ../generic/trsm_kernel_RT.c
42+
43+
SAMAXKERNEL = amax.S
44+
DAMAXKERNEL = amax.S
45+
CAMAXKERNEL = zamax.S
46+
ZAMAXKERNEL = zamax.S
47+
48+
SAXPYKERNEL = axpy.S
49+
DAXPYKERNEL = daxpy_thunderx2t99.S
50+
CAXPYKERNEL = zaxpy.S
51+
ZAXPYKERNEL = zaxpy.S
52+
53+
SROTKERNEL = rot.S
54+
DROTKERNEL = rot.S
55+
CROTKERNEL = zrot.S
56+
ZROTKERNEL = zrot.S
57+
58+
SSCALKERNEL = scal.S
59+
DSCALKERNEL = scal.S
60+
CSCALKERNEL = zscal.S
61+
ZSCALKERNEL = zscal.S
62+
63+
SGEMVNKERNEL = gemv_n.S
64+
DGEMVNKERNEL = gemv_n.S
65+
CGEMVNKERNEL = zgemv_n.S
66+
ZGEMVNKERNEL = zgemv_n.S
67+
68+
SGEMVTKERNEL = gemv_t.S
69+
DGEMVTKERNEL = gemv_t.S
70+
CGEMVTKERNEL = zgemv_t.S
71+
ZGEMVTKERNEL = zgemv_t.S
72+
73+
STRMMKERNEL = strmm_kernel_$(SGEMM_UNROLL_M)x$(SGEMM_UNROLL_N).S
74+
ifneq ($(SGEMM_UNROLL_M), $(SGEMM_UNROLL_N))
75+
SGEMMINCOPY = ../generic/gemm_ncopy_$(SGEMM_UNROLL_M).c
76+
SGEMMITCOPY = ../generic/gemm_tcopy_$(SGEMM_UNROLL_M).c
77+
SGEMMINCOPYOBJ = sgemm_incopy.o
78+
SGEMMITCOPYOBJ = sgemm_itcopy.o
79+
endif
80+
SGEMMONCOPY = ../generic/gemm_ncopy_$(SGEMM_UNROLL_N).c
81+
SGEMMOTCOPY = ../generic/gemm_tcopy_$(SGEMM_UNROLL_N).c
82+
SGEMMONCOPYOBJ = sgemm_oncopy.o
83+
SGEMMOTCOPYOBJ = sgemm_otcopy.o
84+
85+
DTRMMKERNEL = dtrmm_kernel_$(DGEMM_UNROLL_M)x$(DGEMM_UNROLL_N).S
86+
87+
ifneq ($(DGEMM_UNROLL_M), $(DGEMM_UNROLL_N))
88+
89+
ifeq ($(DGEMM_UNROLL_M), 8)
90+
DGEMMINCOPY = dgemm_ncopy_$(DGEMM_UNROLL_M).S
91+
DGEMMITCOPY = dgemm_tcopy_$(DGEMM_UNROLL_M).S
92+
else
93+
DGEMMINCOPY = ../generic/gemm_ncopy_$(DGEMM_UNROLL_M).c
94+
DGEMMITCOPY = ../generic/gemm_tcopy_$(DGEMM_UNROLL_M).c
95+
endif
96+
97+
DGEMMINCOPYOBJ = dgemm_incopy.o
98+
DGEMMITCOPYOBJ = dgemm_itcopy.o
99+
endif
100+
101+
ifeq ($(DGEMM_UNROLL_N), 4)
102+
DGEMMONCOPY = dgemm_ncopy_$(DGEMM_UNROLL_N).S
103+
DGEMMOTCOPY = dgemm_tcopy_$(DGEMM_UNROLL_N).S
104+
else
105+
DGEMMONCOPY = ../generic/gemm_ncopy_$(DGEMM_UNROLL_N).c
106+
DGEMMOTCOPY = ../generic/gemm_tcopy_$(DGEMM_UNROLL_N).c
107+
endif
108+
109+
DGEMMONCOPYOBJ = dgemm_oncopy.o
110+
DGEMMOTCOPYOBJ = dgemm_otcopy.o
111+
112+
CTRMMKERNEL = ctrmm_kernel_$(CGEMM_UNROLL_M)x$(CGEMM_UNROLL_N).S
113+
ifneq ($(CGEMM_UNROLL_M), $(CGEMM_UNROLL_N))
114+
CGEMMINCOPY = ../generic/zgemm_ncopy_$(CGEMM_UNROLL_M).c
115+
CGEMMITCOPY = ../generic/zgemm_tcopy_$(CGEMM_UNROLL_M).c
116+
CGEMMINCOPYOBJ = cgemm_incopy.o
117+
CGEMMITCOPYOBJ = cgemm_itcopy.o
118+
endif
119+
CGEMMONCOPY = ../generic/zgemm_ncopy_$(CGEMM_UNROLL_N).c
120+
CGEMMOTCOPY = ../generic/zgemm_tcopy_$(CGEMM_UNROLL_N).c
121+
CGEMMONCOPYOBJ = cgemm_oncopy.o
122+
CGEMMOTCOPYOBJ = cgemm_otcopy.o
123+
124+
ZTRMMKERNEL = ztrmm_kernel_$(ZGEMM_UNROLL_M)x$(ZGEMM_UNROLL_N).S
125+
ifneq ($(ZGEMM_UNROLL_M), $(ZGEMM_UNROLL_N))
126+
ZGEMMINCOPY = ../generic/zgemm_ncopy_$(ZGEMM_UNROLL_M).c
127+
ZGEMMITCOPY = ../generic/zgemm_tcopy_$(ZGEMM_UNROLL_M).c
128+
ZGEMMINCOPYOBJ = zgemm_incopy.o
129+
ZGEMMITCOPYOBJ = zgemm_itcopy.o
130+
endif
131+
ZGEMMONCOPY = ../generic/zgemm_ncopy_$(ZGEMM_UNROLL_N).c
132+
ZGEMMOTCOPY = ../generic/zgemm_tcopy_$(ZGEMM_UNROLL_N).c
133+
ZGEMMONCOPYOBJ = zgemm_oncopy.o
134+
ZGEMMOTCOPYOBJ = zgemm_otcopy.o
2135

3136
SASUMKERNEL = sasum_thunderx2t99.c
4137
DASUMKERNEL = dasum_thunderx2t99.c
@@ -27,12 +160,12 @@ CNRM2KERNEL = scnrm2_thunderx2t99.c
27160
DNRM2KERNEL = dznrm2_thunderx2t99.c
28161
ZNRM2KERNEL = dznrm2_thunderx2t99.c
29162

30-
DAXPYKERNEL = daxpy_thunderx2t99.S
31163

32164
DDOTKERNEL = dot_thunderx2t99.c
33165
SDOTKERNEL = dot_thunderx2t99.c
34166
CDOTKERNEL = zdot_thunderx2t99.c
35167
ZDOTKERNEL = zdot_thunderx2t99.c
168+
DSDOTKERNEL = dot.S
36169

37170
ifeq ($(DGEMM_UNROLL_M)x$(DGEMM_UNROLL_N), 8x4)
38171
DGEMMKERNEL = dgemm_kernel_8x4_thunderx2t99.S

0 commit comments

Comments
 (0)