[RFC] Constant-Time Coding Support

Aside: LLVM has looked inside inline assembly since ~2010 iirc. The hook is called ExpandInlineAsm: LLVM: llvm::TargetLowering Class Reference

It is implemented for x86 (which looks at the asm string and might replace it with an intrinsic) and Arm (I haven’t looked at what this function does).

3 Likes