CPU vendors expose constant-time modes: Arm DIT and Intel DOIT
Arm introduced the Data Independent Timing (DIT) processor state bit in Armv8.4-A, and Intel documented Data Operand Independent Timing (DOIT) mode in 2022, enabled via the IA32_UARCH_MISC_CTL MSR on Ice Lake and later. In both, software sets a flag and the vendor guarantees a listed subset of instructions runs in time independent of its data operands.
Background
Constant-time programming had relied on undocumented assumptions about hardware. DIT and DOIT turn part of that into an explicit hardware/software contract - Intel noted that on newer cores, without DOIT, some instructions may have data-dependent timing, and enabling it disables optimizations such as data-dependent prefetching. Apple's M3 honours DIT by disabling its data memory-dependent prefetcher, which became the main mitigation for GoFetch (2024).
Adoption has been contentious: Linux kernel developers debated from August 2022 whether to enable DOIT by default because of its performance cost; arm64 kernels enable DIT for kernel code from Linux 6.2. Formal-methods work (e.g., 'Let's DOIT', 2025) builds compilers that target the DOIT contract.
Sources
- standardData Operand Independent Timing ISA GuidanceIntel, intel.com
- newsConstant-time instructions and processor optimizationsLWN.net, lwn.net
- paperLet's DOIT: Using Intel's Extended HW/SW Contract for Secure Compilation of Crypto Code (ePrint 2025/759)IACR ePrint, eprint.iacr.org