On 2016-04-10 14:28:02 +0100, Alastair McKinstry wrote: > (1) When performance matters. Here we need the static library to be > built without position independent code. This can still give several > percent gains depending on arch / programming language.
Yes, but in that case, the best thing to do is to recompile everything for the target processor (instead of generic x86_64, for instance), with LTO. For GMP+MPFR, I noticed a gain of up to 37% a few years ago. -- Vincent Lefèvre <vinc...@vinc17.net> - Web: <https://www.vinc17.net/> 100% accessible validated (X)HTML - Blog: <https://www.vinc17.net/blog/> Work: CR INRIA - computer arithmetic / AriC project (LIP, ENS-Lyon)