3 ms·
Cmov is 1 cycle latency now. Cant remember when there change occurred but AF's info should point the way.
by jnordwick 9y ago
Cmov is 1 cycle latency now. Cant remember when there change occurred but AF's info should point the way.
- Veedrac 9y agoThe issue isn't the `cmov` itself, which is extremely forgiving nowadays (4 per cycle!), but the fact the `cmov` introduces a dependency on both inputs and the condition. A predicted branch introduces a dependency on only the predicted input: the other input is never calculated and the condition is checked after-the-fact.