-
Sub-task
-
Resolution: Fixed
-
P4
-
24
-
b04
-
riscv
There is no existing benchmark, need to add jmh tests.
## tested on K230-CanMV, vlen=128
iter=10, warmup=10
Intrinsic, +zbb, +rvv
Characters.reverseBytes 1654.535 69.360 ns/op
Shorts.reverseBytes 1795.403 44.015 ns/op
Intrinsic, +zbb, -rvv
Characters.reverseBytes 1649.752 74.965 ns/op
Shorts.reverseBytes 1798.637 49.520 ns/op
Intrinsic, -zbb, +rvv
Characters.reverseBytes 2279.588 44.222 ns/op
Shorts.reverseBytes 2441.674 63.895 ns/op
Intrinsic, -zbb, -rvv
Characters.reverseBytes 2288.876 49.099 ns/op
Shorts.reverseBytes 2454.454 94.004 ns/op
No intrinsic
Characters.reverseBytes 1629.722 23.656 ns/op
Shorts.reverseBytes 2108.810 43.378 ns/op
## tested on K230-CanMV, vlen=128
iter=10, warmup=10
Intrinsic, +zbb, +rvv
Characters.reverseBytes 1654.535 69.360 ns/op
Shorts.reverseBytes 1795.403 44.015 ns/op
Intrinsic, +zbb, -rvv
Characters.reverseBytes 1649.752 74.965 ns/op
Shorts.reverseBytes 1798.637 49.520 ns/op
Intrinsic, -zbb, +rvv
Characters.reverseBytes 2279.588 44.222 ns/op
Shorts.reverseBytes 2441.674 63.895 ns/op
Intrinsic, -zbb, -rvv
Characters.reverseBytes 2288.876 49.099 ns/op
Shorts.reverseBytes 2454.454 94.004 ns/op
No intrinsic
Characters.reverseBytes 1629.722 23.656 ns/op
Shorts.reverseBytes 2108.810 43.378 ns/op