Browse Source

Complete cgemm function, but no optimization.

tags/v0.1.0^2
traz 14 years ago
parent
commit
7fa3d23dd9
2 changed files with 1661 additions and 48 deletions
  1. +2
    -0
      common_mips64.h
  2. +1659
    -48
      kernel/mips64/cgemm_kernel_loongson3a_4x2_ps.S

+ 2
- 0
common_mips64.h View File

@@ -152,6 +152,7 @@ static inline int blas_quickdivide(blasint x, blasint y){
#define CMPEQ c.eq.d
#define CMPLE c.le.d
#define CMPLT c.lt.d
#define NEG neg.d
#else
#define LD lwc1
#define ST swc1
@@ -177,6 +178,7 @@ static inline int blas_quickdivide(blasint x, blasint y){
#define MADPS madd.ps
#define CVTU cvt.s.pu
#define CVTL cvt.s.pl
#define NEG neg.s
#endif

#if defined(__64BIT__) && defined(USE64BITINT)


+ 1659
- 48
kernel/mips64/cgemm_kernel_loongson3a_4x2_ps.S
File diff suppressed because it is too large
View File


Loading…
Cancel
Save