Skip to content

Commit c5852d4

Browse files
committed
fixed #4 csrot returned the wrong result when incx==incy==0.
1 parent c79696c commit c5852d4

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

kernel/x86_64/zrot_sse.S

+4
Original file line numberDiff line numberDiff line change
@@ -1523,6 +1523,10 @@
15231523

15241524
.L50:
15251525
movq N, %rax
1526+
cmpq $0, INCX
1527+
je .L56
1528+
cmpq $0, INCY
1529+
je .L56
15261530
sarq $2, %rax
15271531
jle .L55
15281532
ALIGN_3

0 commit comments

Comments
 (0)