fixed #4 csrot & drot returned the wrong result when incx==incy==0 on i686 arch.
This commit is contained in:
parent
bd7a74234f
commit
bfaa80c316
|
@ -859,6 +859,10 @@
|
||||||
|
|
||||||
.L50:
|
.L50:
|
||||||
movl N, I
|
movl N, I
|
||||||
|
cmpl $0, INCX
|
||||||
|
je .L56
|
||||||
|
cmpl $0, INCY
|
||||||
|
je .L56
|
||||||
sarl $2, I
|
sarl $2, I
|
||||||
jle .L55
|
jle .L55
|
||||||
ALIGN_3
|
ALIGN_3
|
||||||
|
|
|
@ -1285,6 +1285,12 @@
|
||||||
|
|
||||||
.L50:
|
.L50:
|
||||||
movl N, I
|
movl N, I
|
||||||
|
//if incx ==0 || incy==0 jump to the tail
|
||||||
|
cmpl $0, INCX
|
||||||
|
je .L56
|
||||||
|
cmpl $0, INCY
|
||||||
|
je .L56
|
||||||
|
|
||||||
sarl $2, I
|
sarl $2, I
|
||||||
jle .L55
|
jle .L55
|
||||||
ALIGN_3
|
ALIGN_3
|
||||||
|
|
Loading…
Reference in New Issue