RDRAND (R64) - Throughput and Uops
With 1 independent instruction
With unroll_count=10 and no inner loop
Code:
0: 49 0f c7 f0 rdrand r8
Show nanoBench command
Results:
Instructions retired: 1.0
Core cycles: 1548.77
Reference cycles: 513.05
UOPS_EXECUTED.THREAD: 56.4
RETIRE_SLOTS: 53.98
UOPS_MITE: 0.0
UOPS_MS: 62.2
UOPS_PORT_0: 10.07
UOPS_PORT_1: 18.03
UOPS_PORT_5: 9.9
UOPS_PORT_6: 17.4
UOPS_PORT_23: 0.0
UOPS_PORT_49: 0.0
UOPS_PORT_78: 1.0
DIV_CYCLES: 0.0
ILD_STALL.LCP: 0.0
UOPS_MITE>=1: 0.0
With unroll_count=10, no inner loop, and 1 NOP
Code:
0: 49 0f c7 f0 rdrand r8 4: 90 nop
Show nanoBench command
Results:
Instructions retired: 2.0
Core cycles: 1548.38
Reference cycles: 512.02
UOPS_EXECUTED.THREAD: 56.38
RETIRE_SLOTS: 54.97
UOPS_MITE: 1.8
UOPS_MS: 62.2
UOPS_PORT_0: 9.62
UOPS_PORT_1: 18.38
UOPS_PORT_5: 10.0
UOPS_PORT_6: 17.4
UOPS_PORT_23: 0.0
UOPS_PORT_49: 0.0
UOPS_PORT_78: 1.0
DIV_CYCLES: 0.0
ILD_STALL.LCP: 0.0
UOPS_MITE>=1: 1.0
With loop_count=10 and unroll_count=1
Code:
0: 49 0f c7 f0 rdrand r8
Show nanoBench command
Results:
Instructions retired: 3.0
Core cycles: 1548.77
Reference cycles: 511.5
UOPS_EXECUTED.THREAD: 58.42
RETIRE_SLOTS: 55.72
UOPS_MITE: 1.88
UOPS_MS: 62.2
UOPS_PORT_0: 9.67
UOPS_PORT_1: 18.5
UOPS_PORT_5: 10.7
UOPS_PORT_6: 18.4
UOPS_PORT_23: 0.0
UOPS_PORT_49: 0.0
UOPS_PORT_78: 1.0
DIV_CYCLES: 0.0
ILD_STALL.LCP: 0.0
UOPS_MITE>=1: 1.0