LLVM ist a mess
LLVM ist a mess
Posted Mar 18, 2024 9:01 UTC (Mon) by pm215 (subscriber, #98099)In reply to: LLVM ist a mess by khim
Parent article: Cranelift code generation comes to Rust
Modern CPUs, at least for Intel and Arm, have an architecturally defined data independent timing mode that you can enable in a status register bit when you want to execute this kind of crypto code, and which then guarantees that execution timing of a specified subset of instructions is not dependent on the data they are operating on. So I think the situation is not so bleak as you suggest: there's now a defined set of "stay within these boundaries and things won't change in future designs or microcode updates" rules.
