Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

In principle is perfectly possible to speculatively execute cmov (and viceversa to change jump-over-one-instruction into conditional execution).

But Intel historically didn't do it as programs tend to use cmov when the condition is unpredictable , so there was little reason to optimize it.

After Spectre, I believe intel has given an architectural guarantee that cmov is never speculated so it can be used as part of speculation attack prevention.



Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: