Return Styles: Pseud0ch, Terminal, Valhalla, NES, Geocities, Blue Moon. Entire thread

libzahl - big integer library

Name: Anonymous 2016-03-05 22:05

http://git.suckless.org/libzahl/tree/
The rationale for its creation can be found on the README file.
What do you think?

Name: Anonymous 2017-01-03 14:22

>>103
Adding -fpic didn't work, but -no-pie did. But I lose the benefits of PIE if I use that flag...
Also ran the tests. pdivrem and pshl gave ``Illegal instruction''.
Full report.

running bench tests
=============================================
bench/p/padd
1.11092342 seconds 2807320549 cycles
bench/p/paddu
0.61399935 seconds 1551585089 cycles
bench/p/pclz
0.38591482 seconds 975212322 cycles
bench/p/pctz
0.04113274 seconds 103942455 cycles
bench/p/pcmp
0.25936612 seconds 655420130 cycles
bench/p/pcopy
0.62378001 seconds 1576300554 cycles
bench/p/pdivrem
Illegal instruction
bench/p/pdivremu
4.67800991 seconds 11821408959 cycles
bench/p/pmove
0.82385516 seconds 2081893366 cycles
bench/p/pmul
11.81116410 seconds 29847010724 cycles
bench/p/pmul_karatsuba
4.05948106 seconds 10258375022 cycles
bench/p/pmulu
1.12860501 seconds 2852001229 cycles
bench/p/pnorm
0.27017547 seconds 682734816 cycles
bench/p/pshl
Illegal instruction
bench/p/pshr
0.91286878 seconds 2306832982 cycles
bench/p/psqr
12.04847466 seconds 30446699611 cycles
bench/p/psqr_karatsuba
3.78380911 seconds 9561747711 cycles
bench/p/psub
1.22896880 seconds 3105622042 cycles
bench/p/psubu
0.59403863 seconds 1501143056 cycles
bench/p/pzero
0.34930230 seconds 882689481 cycles
=============================================
all done

Newer Posts
Don't change these.
Name: Email:
Entire Thread Thread List