AX45MPV (AndeSim simulator) veclibm benchmarks
function | scalar libc fp64/cycle | RVV veclibm fp64/cycle | speedup |
exp | 0.021108 | 0.191588 | 9.07x |
exp2 | 0.023598 | 0.118505 | 5.02x |
expm1 | 0.007988 | 0.130059 | 16.28x |
log | 0.018160 | 0.061062 | 3.36x |
log10 | 0.010209 | 0.061770 | 6.05x |
log2 | 0.011500 | 0.064248 | 5.58x |
log1p | 0.007086 | 0.115921 | 16.35x |
sqrt | 0.127060 | 0.128113 | 1.00x |
cbrt | 0.003758 | 0.140321 | 37.33x |
sin | 0.017842 | 0.108790 | 6.09x |
cos | 0.016353 | 0.111055 | 6.79x |
tan | 0.007676 | 0.045836 | 5.97x |
asin | 0.006522 | 0.056933 | 8.72x |
acos | 0.006679 | 0.054048 | 8.09x |
atan | 0.010549 | 0.042324 | 4.01x |
sinh | 0.005055 | 0.099364 | 19.65x |
cosh | 0.007750 | 0.103882 | 13.40x |
tanh | 0.004915 | 0.049842 | 10.14x |
asinh | 0.003925 | 0.025973 | 6.61x |
acosh | 0.041449 | 0.030188 | 0.72x |
atanh | 0.004255 | 0.051444 | 12.09x |
erf | 0.009368 | 0.071094 | 7.58x |
erfc | 0.008463 | 0.021163 | 2.50x |
tgamma | 0.003698 | 0.012213 | 3.30x |
lgamma | 0.005237 | 0.009662 | 1.84x |