3 ms·
For what it's worth, I recommended against mentioning `unpredictable` anywhere in the name when we stabilize the intrinsic. IMO the constant-timeness is much m
by orlp 2y ago
For what it's worth, I recommended against mentioning `unpredictable` anywhere in the name when we stabilize the intrinsic.
IMO the constant-timeness is much more important, e.g. in audio DSP code or for cryptography you really care that it's a `cmov`, regardless of the predictability of the predicate.
- account42 2y agoA constant time guarantee would make this unimplementable since CPU vendors do not make that guarantee.
- gpderetta 2y agoUnless they do: https://www.intel.com/content/www/us/en/developer/articles/technical/software-security-guidance/resources/data-operand-independent-timing-instructions.html https://www.intel.com/content/www/us/en/developer/articles/t...
- tialaramex 2y agoMakes sense.