I have checked uops table (https://uops.info/table.html) and I found that TP for jmp rel8
is far greater than for jmp rel32
.
Does this mean that jmp rel8
is slower than jmp rel32
?
jmp rel32
With unroll_count=500 and no inner loop
Code:
0: e9 00 00 00 00 jmp 0x5
Show nanoBench command
Results:
Instructions retired: 1.0
Core cycles: 2.75
Reference cycles: 2.05
jmp rel8
With unroll_count=500 and no inner loop
Code:
0: eb 00 jmp 0x2
Show nanoBench command
Results:
Instructions retired: 1.0
Core cycles: 5.84
Reference cycles: 4.61