News for hackers. Stuff that matters.
Re:Let the Compiler Do the Work by shilch on Tuesday January 07, 2020 @07:33AM (#21979326)
Clang also does some crazy-good SIMD optimizations if you set -march=native. But I think the Rust compiler is based on LLVM as well, right?
Re:Let the Compiler Do the Work by rwem on Tuesday January 07, 2020 @11:55AM (#21981766)
Everybody should build everything with a reasonable setting of march. Debian Linux still builds everything for K8, a microarchitecture that lacked SSE3, SSE4, AVX, AES, etc. Even building with march=sandybridge seems petty conservative and gives significant speed improvements in many common cases.
Re:Let the Compiler Do the Work by steveklabnik on Tuesday January 07, 2020 @08:06AM (#21979551)
It is, yes.