fixed #4 csrot & drot returned the wrong result when incx==incy==0 on i686 arch.

This commit is contained in:
Xianyi 2011-02-18 03:00:58 +08:00
parent bd7a74234f
commit bfaa80c316
2 changed files with 10 additions and 0 deletions

View File

@ -859,6 +859,10 @@
.L50:
movl N, I
cmpl $0, INCX
je .L56
cmpl $0, INCY
je .L56
sarl $2, I
jle .L55
ALIGN_3

View File

@ -1285,6 +1285,12 @@
.L50:
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
jle .L55
ALIGN_3