• bayesnet an hour ago

    > I have no idea what the mov rcx, rsp instruction is for. The rcx register is not read anywhere after that.

    Anyone have any ideas? I’m surprised that the compiler emits a “useless” instruction at -o3.

    • aw1621107 5 days ago

      Full title is "Why my Rust benchmarks were wrong, or how to [correctly] use std::hint::black_box?", but I had to remove something to get the title to fit.