You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Commit 471f806
Browse filesBrowse the repository at this point in the historyBrowse files
zaxpy: fix caxpyc/zaxpyc incx=0,incy=0 conjugation and x86 zero-stride
When incx == 0 && incy == 0, interface/zaxpy.c computes alpha * x
unconditionally and ignores CONJ, causing caxpyc and zaxpyc to skip
conjugating x. Add the CONJ branch in interface/zaxpy.c to compute
alpha * conj(x).
Additionally, fix zero-stride scalar loops across x86 and x86_64 SSE
and SSE2 complex axpy assembly kernels:
- kernel/x86_64/zaxpy_sse2.S: jump to a dedicated .L200 scalar loop
advancing X by INCX and Y by INCY whenever INCX == 0 or INCY == 0.
- kernel/x86_64/zaxpy_atom.S: jump to a dedicated .L200 scalar loop
advancing X by INCX and Y by INCY whenever INCX == 0 or INCY == 0.
- kernel/x86/zaxpy_sse2.S: jump to a dedicated .L200 scalar loop
advancing X by INCX and Y by INCY whenever INCX == 0 or INCY == 0.
- kernel/x86/zaxpy_sse.S: advance X by INCX and Y by INCY inside .L201.
Add utest regression tests for caxpyc and zaxpyc with zero strides and
for x86/x86_64 caxpy and zaxpy with incy == 0.
0 commit comments