• calcopiritus@lemmy.world
    link
    fedilink
    arrow-up
    1
    ·
    6 months ago

    This synthetic benchmark is nice a general wisdom thing. But I’d love a more complete analysis taking into account loading from memory, caches, SIMD, CPU pipeline and all of that.

    Probably when taking all those things into account (specially loading values from memory) the performance difference of a div and a mult should be negligible.