MOVSQ - Throughput and Uops
With unroll_count=500 and no inner loop
Code:
0: 48 a5 movs QWORD PTR es:[rdi],QWORD PTR ds:[rsi]
Show nanoBench command
Results:
Instructions retired: 1.0
Core cycles: 5.0
Reference cycles: 3.28
UOPS_RETIRED.ANY: 5.0
UOPS_MS: 5.0
With loop_count=1000 and unroll_count=10
Code:
0: 48 a5 movs QWORD PTR es:[rdi],QWORD PTR ds:[rsi]
Show nanoBench command
Results:
Instructions retired: 1.2
Core cycles: 5.1
Reference cycles: 3.33
UOPS_RETIRED.ANY: 5.2
UOPS_MS: 5.0
With loop_count=100 and unroll_count=100
Code:
0: 48 a5 movs QWORD PTR es:[rdi],QWORD PTR ds:[rsi]
Show nanoBench command
Results:
Instructions retired: 1.02
Core cycles: 5.01
Reference cycles: 3.3
UOPS_RETIRED.ANY: 5.02
UOPS_MS: 5.0