Skip to content

Commit 2d557eb

Browse files
committed
Fixed computational error of dgemv_n.
1 parent 75acf96 commit 2d557eb

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

kernel/x86_64/dgemv_n.S

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -170,8 +170,9 @@
170170
jge .L00t
171171

172172
movq MMM,M
173-
addq I,M
173+
addq M, I
174174
jle .L999x
175+
movq I, M
175176

176177
.L00t:
177178
movq XX,X
@@ -2853,6 +2854,9 @@
28532854
.L999:
28542855
leaq (, M, SIZE), %rax
28552856
addq %rax,AA
2857+
movq STACK_INCY, INCY
2858+
imulq INCY, %rax
2859+
addq %rax, Y
28562860
jmp .L0t
28572861
ALIGN_4
28582862

0 commit comments

Comments
 (0)