MUL (R64) - Throughput and Uops
With unroll_count=500 and no inner loop
Code:
0: 49 f7 e0 mul r8
Show nanoBench command
Results:
Instructions retired: 1.0
Core cycles: 6.0
Reference cycles: 3.9
UOPS_RETIRED.ANY: 2.0
UOPS_MS: 0.0
With loop_count=1000 and unroll_count=10
Code:
0: 49 f7 e0 mul r8
Show nanoBench command
Results:
Instructions retired: 1.2
Core cycles: 6.1
Reference cycles: 3.98
UOPS_RETIRED.ANY: 2.2
UOPS_MS: 0.0
With loop_count=100 and unroll_count=100
Code:
0: 49 f7 e0 mul r8
Show nanoBench command
Results:
Instructions retired: 1.02
Core cycles: 6.01
Reference cycles: 3.92
UOPS_RETIRED.ANY: 2.02
UOPS_MS: 0.0
With additional dependency-breaking instructions
With unroll_count=500 and no inner loop
Code:
0: 48 31 c0 xor rax,rax 3: 49 f7 e0 mul r8
Show nanoBench command
Results:
Instructions retired: 2.0
Core cycles: 2.0
Reference cycles: 1.3
UOPS_RETIRED.ANY: 3.0
UOPS_MS: 0.0
With loop_count=1000 and unroll_count=10
Code:
0: 48 31 c0 xor rax,rax 3: 49 f7 e0 mul r8
Show nanoBench command
Results:
Instructions retired: 2.2
Core cycles: 2.2
Reference cycles: 1.44
UOPS_RETIRED.ANY: 3.2
UOPS_MS: 0.0
With loop_count=100 and unroll_count=100
Code:
0: 48 31 c0 xor rax,rax 3: 49 f7 e0 mul r8
Show nanoBench command
Results:
Instructions retired: 2.02
Core cycles: 2.16
Reference cycles: 1.4
UOPS_RETIRED.ANY: 3.02
UOPS_MS: 0.0