Constant-time arithmetic operations

IIUC the compiler may optimize the inline assembly if it can. GCC and Clang has asm volatile for the programmer to explicitly tell them to not touch it. At least that’s what learnt from watching the talk explaining clobber() and escape():

This used is in google/benchmark, too: