Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

riscv64 fixes #3259

Merged
merged 3 commits into from
Jun 8, 2021
Merged

riscv64 fixes #3259

merged 3 commits into from
Jun 8, 2021

Conversation

zhaofengli
Copy link
Contributor

3 commits:

  1. riscv64/imin: Fix wrong comparison
    • Same as ARM ismin/idmin kernels yield index of maximum instead #1990 😕
    • Apparently no one ran the test suite (the default make target) on RISC-V in the last couple of years. Neither Fedora nor Debian seem to run tests during their builds which is unfortunate. Should the CI run the test suite for all arches under emulation?
  2. RISCV64_GENERIC: Use generic kernel for DSDOT for better precision
    • The implementation in riscv64/dot.c fails the test_dsdot test, and the generic kernel seems to have better precision. Tested on SiFive FU740 (HiFive Unmatched) and QEMU.
  3. riscv64: Add Makefile

The implementation in `riscv64/dot.c` fails the `test_dsdot` test, and
the generic kernel seems to have better precision. Tested on SiFive
FU740 (HiFive Unmatched) and QEMU.

Also see OpenMathLib#1469.
@xianyi xianyi merged commit 9f3d903 into OpenMathLib:develop Jun 8, 2021
@martin-frbg martin-frbg added this to the 0.3.16 milestone Jun 8, 2021
@zhaofengli zhaofengli deleted the riscv64-fixes branch June 8, 2021 18:08
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.

3 participants