Skip to content

Commit d4c96a3

Browse files
yanchengyinshiyou
authored andcommitted
loongarch64: Add optimizations for axpy and axpby.
1 parent 360acc0 commit d4c96a3

File tree

10 files changed

+3924
-0
lines changed

10 files changed

+3924
-0
lines changed

kernel/loongarch64/KERNEL.LOONGSON2K1000

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -37,4 +37,10 @@ DCOPYKERNEL = dcopy_lsx.S
3737
SSWAPKERNEL = sswap_lsx.S
3838
DSWAPKERNEL = dswap_lsx.S
3939

40+
SAXPYKERNEL = saxpy_lsx.S
41+
DAXPYKERNEL = daxpy_lsx.S
42+
43+
SAXPBYKERNEL = saxpby_lsx.S
44+
DAXPBYKERNEL = daxpby_lsx.S
45+
4046
endif

kernel/loongarch64/KERNEL.LOONGSON3R5

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -37,6 +37,12 @@ DCOPYKERNEL = dcopy_lasx.S
3737
SSWAPKERNEL = sswap_lasx.S
3838
DSWAPKERNEL = dswap_lasx.S
3939

40+
SAXPYKERNEL = saxpy_lasx.S
41+
DAXPYKERNEL = daxpy_lasx.S
42+
43+
SAXPBYKERNEL = saxpby_lasx.S
44+
DAXPBYKERNEL = daxpby_lasx.S
45+
4046
DGEMMKERNEL = dgemm_kernel_16x4.S
4147
DGEMMINCOPY = dgemm_ncopy_16.S
4248
DGEMMITCOPY = dgemm_tcopy_16.S

0 commit comments

Comments
 (0)