Skip to content

Fix for saxpy / daxpy with incy == 0 - RISCV64_ZVL128B build - #6293

Merged
martin-frbg merged 6 commits into
OpenMathLib:developfrom
ChipKerchner:fixAxpyRVV
Nov 30, 2026
Merged

martin-frbg merged 6 commits into
OpenMathLib:developfrom
ChipKerchner:fixAxpyRVV

Conversation

@ChipKerchner

Copy link
Copy Markdown
Contributor

Fix for saxpy / daxpy with incy == 0 - RISCV64_ZVL128B build.

Current code produces result as in_vl * y[0] + alpha * sum(x) instead of y[0] + alpha * sum(x)

@ChipKerchner

Copy link
Copy Markdown
Contributor Author

RESULTS: 166 tests (164 ok, 2 failed) axpy:saxpy_zero_output_stride, axpy:daxpy_zero_output_stride test_axpy.c:207 expected 0.000e+00, got -2.000e+00

@martin-frbg martin-frbg added this to the 0.3.35 milestone Nov 30, 2026
@martin-frbg
martin-frbg merged commit e401d04 into OpenMathLib:develop Nov 30, 2026
114 of 115 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants