Skip to content

Commit 53e0837

Browse files
authored
Merge pull request #3022 from jinboson/develop
Fix test errors reported by cblas_cgemm & cblas_ctrmm
2 parents 8fef587 + 65de6f5 commit 53e0837

File tree

1 file changed

+8
-8
lines changed

1 file changed

+8
-8
lines changed

kernel/mips/cgemm_kernel_8x4_msa.c

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -758,10 +758,10 @@ USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
758758
pc0[1] += alphar * res1; \
759759
pc0[1] += alphai * res0; \
760760
\
761-
pc1[2] += alphar * res2; \
762-
pc1[2] -= alphai * res3; \
763-
pc1[3] += alphar * res3; \
764-
pc1[3] += alphai * res2; \
761+
pc1[0] += alphar * res2; \
762+
pc1[0] -= alphai * res3; \
763+
pc1[1] += alphar * res3; \
764+
pc1[1] += alphai * res2; \
765765
}
766766

767767
#define CGEMM_SCALE_1X1 \
@@ -1067,10 +1067,10 @@ USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
10671067
pc0[1] = alphar * res1; \
10681068
pc0[1] += alphai * res0; \
10691069
\
1070-
pc1[2] = alphar * res2; \
1071-
pc1[2] -= alphai * res3; \
1072-
pc1[3] = alphar * res3; \
1073-
pc1[3] += alphai * res2; \
1070+
pc1[0] = alphar * res2; \
1071+
pc1[0] -= alphai * res3; \
1072+
pc1[1] = alphar * res3; \
1073+
pc1[1] += alphai * res2; \
10741074
}
10751075

10761076
#define CGEMM_TRMM_SCALE_1X1 \

0 commit comments

Comments
 (0)