|
|
|
|
|
by vardump
2743 days ago
|
|
HN formatting ate some * from the parent post: jmp [ecx+eax * 8]
and the other is
mov edx, [ecx+eax * 8];
jmp edx
> The later is faster because of weird branch prediction reasons...Things like that are microarchitecture dependent. Might be true on particular CPUs. Of course it's possible separate MOV could be executed much earlier in the out of order pipeline while JMP effective address calculation might not. So JMP address (edx) would be already resolved by the time JMP is actually executing. |
|