Skip to content

Commit 4664b57

Browse files
authored
use shortcut only when both incx and incy are zero
1 parent c2f4bdb commit 4664b57

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

kernel/x86_64/zaxpy_sse2.S

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1418,10 +1418,10 @@
14181418
movq M, %rax
14191419
//If incx==0 || incy==0, avoid unloop and jump to end.
14201420
cmpq $0, INCX
1421-
je .L58
1421+
jne .L59
14221422
cmpq $0, INCY
14231423
je .L58
1424-
1424+
.L59:
14251425
sarq $3, %rax
14261426
jle .L55
14271427

0 commit comments

Comments
 (0)