Beating the kCTF PoW with AVX512IFMA for $51k

23 points by freddyb


ibookstein

Cool.

William linked GMP statically, which would presumably allow some inlining, and reported a further speedup

Probably not sufficient for inlining. I would expect this to mostly reduce process startup time (which I expect could be further reduced by linking everything statically and producing a static executable). Maybe also mild savings on the dispatch to these functions, which wouldn’t have to go through mechanisms such as GOT/PLT.

For inlining you would have to enable LTO. At $WORK we’re using similar infrastructural dependencies through Conan, and I’ve been putting off the fussy build engineering that might be required to enable LTO for them…