use shortcut only when both incx and incy are zero

This commit is contained in:
Martin Kroeker
2023-08-04 12:25:34 +02:00
committed by GitHub
parent c2f4bdbbb4
commit 4664b57e6e

View File

@@ -1418,10 +1418,10 @@
movq M, %rax
//If incx==0 || incy==0, avoid unloop and jump to end.
cmpq $0, INCX
je .L58
jne .L59
cmpq $0, INCY
je .L58
.L59:
sarq $3, %rax
jle .L55