3 ms·
Haswell and later can run loops with 4 instructions, including 2 ALU ops and two conditional branches -- provided only one is taken -- in one cycle. Compilers
by ncmncm 7y ago
Haswell and later can run loops with 4 instructions, including 2 ALU ops and two conditional branches -- provided only one is taken -- in one cycle.
Compilers prefer to order the instructions so they take two or more cycles.