BPI-F3 (SpacemiT K1, X60) veclibm benchmarks
function | scalar libc fp64/cycle | RVV veclibm fp64/cycle | speedup |
exp | 0.010041 | 0.036663 | 3.65x |
exp2 | 0.010880 | 0.031866 | 2.92x |
expm1 | 0.006542 | 0.025765 | 3.93x |
log | 0.011769 | 0.025071 | 2.13x |
log10 | 0.006865 | 0.023795 | 3.46x |
log2 | 0.012316 | 0.025622 | 2.08x |
log1p | 0.005046 | 0.029617 | 5.86x |
sqrt | 0.026011 | 0.087398 | 3.36x |
cbrt | 0.003617 | 0.021652 | 5.98x |
sin | 0.007350 | 0.025246 | 3.43x |
cos | 0.007662 | 0.024844 | 3.24x |
tan | 0.005325 | 0.015874 | 2.98x |
asin | 0.006330 | 0.015950 | 2.51x |
acos | 0.007101 | 0.014722 | 2.07x |
atan | 0.006554 | 0.012272 | 1.87x |
sinh | 0.003711 | 0.020924 | 5.63x |
cosh | 0.005534 | 0.024105 | 4.35x |
tanh | 0.004238 | 0.017362 | 4.09x |
asinh | 0.003840 | 0.013434 | 3.49x |
acosh | 0.014037 | 0.015503 | 1.10x |
atanh | 0.003320 | 0.021419 | 6.45x |
erf | 0.008981 | 0.011269 | 1.25x |
erfc | 0.009433 | 0.005403 | 0.57x |
tgamma | 0.002126 | 0.003782 | 1.77x |
lgamma | 0.004234 | 0.003266 | 0.77x |