Fixed #7. Modified axpy kernel codes to avoid unloop with incx==0 or incy==0 in x86 32bits arch.

This commit is contained in:
Xianyi
2011-02-23 20:08:34 +08:00
parent cd2cbabecc
commit 12214e1d0f
4 changed files with 61 additions and 0 deletions

View File

@@ -1440,6 +1440,12 @@
.L50:
movl M, %eax
movl Y, YY
//If incx==0 || incy==0, avoid unloop.
cmpl $0, INCX
je .L56
cmpl $0, INCY
je .L56
sarl $3, %eax
jle .L55
ALIGN_3