use shortcut only when both incx and incy are zero
This commit is contained in:
parent
c2f4bdbbb4
commit
4664b57e6e
|
@ -1418,10 +1418,10 @@
|
||||||
movq M, %rax
|
movq M, %rax
|
||||||
//If incx==0 || incy==0, avoid unloop and jump to end.
|
//If incx==0 || incy==0, avoid unloop and jump to end.
|
||||||
cmpq $0, INCX
|
cmpq $0, INCX
|
||||||
je .L58
|
jne .L59
|
||||||
cmpq $0, INCY
|
cmpq $0, INCY
|
||||||
je .L58
|
je .L58
|
||||||
|
.L59:
|
||||||
sarq $3, %rax
|
sarq $3, %rax
|
||||||
jle .L55
|
jle .L55
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue