Repository navigation
Fixes RVV masked intrinsics for iamax/iamin/imax/imin kernels - #4125
Conversation
Changes masked intrinsics from _m to _mu and reintroduces maskedoff argument.
|
Thanks for the note @OMaghiarIMG. Just curious what LLVM version you are using for your testing? We have been using SiFive's 15.9 (2023.03) which is based from LLVM 16 if I understand correctly. |
I've used a version based on LLVM 16 as well (available in Imagination's Catapult SDK). |
|
Added additional commit with same changes for izamax/izamin kernels. |
|
I built the BLAS-Tester tests, before changes multiple failures noted for AMIN/AMAX on vlen=512, agnostic policy = undisturbed: After changes all Level 1 tests pass. |
Noticed that utests 9 to 12(ismin and ismax) are failing on x280 target when running with VLEN=128.
Since the code didn't seem to rely on x280's 512-bit VLEN, I tracked down the issue to the commit that updated the RVV intrinsics to v0.11.
After the update the functionality of the masked intrinsics has changed, _m translates to mask agnostic and no longer has maskedoff argument, previous functionality seems to be maintained by _mu intrinsics.
PR changes masked intrinsics from _m to _mu and reintroduces maskedoff argument.
All utests now pass using QEMU for x280 build and VLEN=128.