Skip to content

Set tail policy to undisturbed for RVV intrinsics accumulators - #4159

Merged
martin-frbg merged 4 commits into
OpenMathLib:risc-vfrom
OMaghiarIMG:risc-v-tail-policy
Dec 8, 2023
Merged

martin-frbg merged 4 commits into
OpenMathLib:risc-vfrom
OMaghiarIMG:risc-v-tail-policy

Conversation

@OMaghiarIMG

Copy link
Copy Markdown
Contributor

Changes made on top of previously opened PR #4125.
During the last iteration of some x280 RVV operations, accumulators can get overwritten when VL < VLMAX and tail policy is agnostic.
Testing with agnostic policy set to all 1s revealed numerous errors on ctests, utest and BLAS-Tester Level 1&2:
image

PR changes tail policy for intrinsics that handle accumulators to undisturbed.
After changes all Level 1&2 tests passing when agnostic policy set to all 1s.
Tested with Clang 16 and Qemu v8.0.

Changes masked intrinsics from _m to _mu and reintroduces maskedoff argument.
During the last iteration of some RVV operations, accumulators can get overwritten when VL < VLMAX and tail policy is agnostic.
Commit changes intrinsics tail policy to undistrubed.
During the last iteration of some RVV operations, accumulators can get overwritten when VL < VLMAX and tail policy is agnostic.
Commit changes intrinsics tail policy to undistrubed.
@martin-frbg
martin-frbg merged commit 1332f8a into OpenMathLib:risc-v Dec 8, 2023
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