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: 4.0
Reference cycles: 3.32
UOPS_RETIRED.ANY: 5.0
RETIRE_SLOTS: 5.0
UOPS_MS: 1.0
UOPS_PORT_0: 0.5
UOPS_PORT_1: 0.5
UOPS_PORT_2: 1.0
UOPS_PORT_3: 1.0
UOPS_PORT_4: 1.0
UOPS_PORT_5: 0.0
DIV_CYCLES: 0.0
ILD_STALL.LCP: 0.0
INST_DECODED.DEC0: 1.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: 4.1
Reference cycles: 3.42
UOPS_RETIRED.ANY: 5.2
RETIRE_SLOTS: 5.2
UOPS_MS: 1.0
UOPS_PORT_0: 0.55
UOPS_PORT_1: 0.65
UOPS_PORT_2: 1.0
UOPS_PORT_3: 1.0
UOPS_PORT_4: 1.03
UOPS_PORT_5: 0.0
DIV_CYCLES: 0.0
ILD_STALL.LCP: 0.0
INST_DECODED.DEC0: 1.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: 4.01
Reference cycles: 3.34
UOPS_RETIRED.ANY: 5.02
RETIRE_SLOTS: 5.02
UOPS_MS: 1.0
UOPS_PORT_0: 0.5
UOPS_PORT_1: 0.51
UOPS_PORT_2: 1.0
UOPS_PORT_3: 1.0
UOPS_PORT_4: 1.12
UOPS_PORT_5: 0.0
DIV_CYCLES: 0.0
ILD_STALL.LCP: 0.0
INST_DECODED.DEC0: 1.0