CMP (R64, I32) - Throughput and Uops
With unroll_count=500 and no inner loop
Code:
0: 49 81 f8 00 00 00 01 cmp r8,0x1000000
Show nanoBench command
Results:
Instructions retired: 1.0
Core cycles: 0.88
Reference cycles: 0.88
UOPS_RETIRED.ANY: 1.0
UOPS_MS: 0.0
With loop_count=1000 and unroll_count=10
Code:
0: 49 81 f8 00 00 00 01 cmp r8,0x1000000
Show nanoBench command
Results:
Instructions retired: 1.2
Core cycles: 1.0
Reference cycles: 1.0
UOPS_RETIRED.ANY: 1.2
UOPS_MS: 0.0
With loop_count=100 and unroll_count=100
Code:
0: 49 81 f8 00 00 00 01 cmp r8,0x1000000
Show nanoBench command
Results:
Instructions retired: 1.02
Core cycles: 0.9
Reference cycles: 0.9
UOPS_RETIRED.ANY: 1.02
UOPS_MS: 0.0