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: 5719.53
Reference cycles: 4499.37
UOPS_EXECUTED.THREAD: 8459.0
RETIRE_SLOTS: 8416.0
UOPS_MITE: 0.0
UOPS_MS: 8534.43
UOPS_PORT_0: 1811.62
UOPS_PORT_1: 1783.83
UOPS_PORT_2: 581.65
UOPS_PORT_3: 580.43
UOPS_PORT_4: 17.0
UOPS_PORT_5: 1744.25
UOPS_PORT_6: 1928.6
UOPS_PORT_7: 11.73
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: 5715.85
Reference cycles: 4496.8
UOPS_EXECUTED.THREAD: 8459.03
RETIRE_SLOTS: 8417.0
UOPS_MITE: 1.0
UOPS_MS: 8534.32
UOPS_PORT_0: 1812.1
UOPS_PORT_1: 1783.58
UOPS_PORT_2: 581.87
UOPS_PORT_3: 579.95
UOPS_PORT_4: 17.0
UOPS_PORT_5: 1743.35
UOPS_PORT_6: 1929.8
UOPS_PORT_7: 11.78
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: 5718.93
Reference cycles: 4496.8
UOPS_EXECUTED.THREAD: 8460.03
RETIRE_SLOTS: 8417.0
UOPS_MITE: 1.0
UOPS_MS: 8534.63
UOPS_PORT_0: 1810.75
UOPS_PORT_1: 1783.72
UOPS_PORT_2: 581.78
UOPS_PORT_3: 580.12
UOPS_PORT_4: 17.0
UOPS_PORT_5: 1743.62
UOPS_PORT_6: 1931.37
UOPS_PORT_7: 11.85
DIV_CYCLES: 0.0
ILD_STALL.LCP: 0.0
UOPS_MITE>=1: 1.0