Browse Source

use shortcut only when both incx and incy are zero

tags/v0.3.24
Martin Kroeker GitHub 2 years ago
parent
commit
4664b57e6e
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 2 deletions
  1. +2
    -2
      kernel/x86_64/zaxpy_sse2.S

+ 2
- 2
kernel/x86_64/zaxpy_sse2.S 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



Loading…
Cancel
Save