Merge pull request #1583 from martin-frbg/issue1575
Handle INCX=0,INCY=0 case
This commit is contained in:
commit
8562d5787a
|
@ -1,3 +1 @@
|
||||||
include $(KERNELDIR)/KERNEL.PENRYN
|
include $(KERNELDIR)/KERNEL.PENRYN
|
||||||
SSWAPKERNEL = ../arm/swap.c
|
|
||||||
DSWAPKERNEL = ../arm/swap.c
|
|
||||||
|
|
|
@ -138,6 +138,14 @@
|
||||||
/* INCX != 1 or INCY != 1 */
|
/* INCX != 1 or INCY != 1 */
|
||||||
|
|
||||||
.L14:
|
.L14:
|
||||||
|
cmpl $0, %ebx
|
||||||
|
jne .L141
|
||||||
|
cmpl $0, %ecx
|
||||||
|
jne .L141
|
||||||
|
/* INCX == 0 and INCY == 0 */
|
||||||
|
jmp .L27
|
||||||
|
|
||||||
|
.L141:
|
||||||
movl %edx, %eax
|
movl %edx, %eax
|
||||||
sarl $2, %eax
|
sarl $2, %eax
|
||||||
jle .L28
|
jle .L28
|
||||||
|
|
Loading…
Reference in New Issue