3 ms·
It turns off CPU features that could cause execution time to vary in a way that depends on the data being operated on.
by wat10000 1y ago
It turns off CPU features that could cause execution time to vary in a way that depends on the data being operated on.
- stingraycharles 1y agoIsn’t that exactly what you want for constant time algorithms? So why does the grandparent cite this article as Intel preventing LLVM’s techniques from working?
- wat10000 1y agoI think the complaint is that this feature isn’t very practical to use (sounds like it needs OS support and a syscall to turn it on and off), and the fact that it exists implies that code that looks like it would be constant time may not be if this feature isn’t enabled.