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: 118.9
Reference cycles: 72.0
UOPS_EXECUTED.THREAD: 21.0
RETIRE_SLOTS: 24.0
UOPS_MITE: 0.4
UOPS_MS: 23.95
UOPS_PORT_0: 5.0
UOPS_PORT_1: 7.4
UOPS_PORT_6: 6.6
UOPS_PORT_49: 0.0
UOPS_PORT_78: 0.0
UOPS_PORT_5B: 3.2
UOPS_PORT_5B>=2: 0.0
UOPS_PORT_23A: 1.0
DIV_CYCLES: 0.0
ILD_STALL.LCP: 0.0
UOPS_MITE>=1: 0.08
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: 117.57
Reference cycles: 70.67
UOPS_EXECUTED.THREAD: 21.0
RETIRE_SLOTS: 25.0
UOPS_MITE: 1.5
UOPS_MS: 24.0
UOPS_PORT_0: 3.2
UOPS_PORT_1: 9.2
UOPS_PORT_6: 5.7
UOPS_PORT_49: 0.0
UOPS_PORT_78: 0.0
UOPS_PORT_5B: 4.1
UOPS_PORT_5B>=2: 0.8
UOPS_PORT_23A: 1.0
DIV_CYCLES: 0.0
ILD_STALL.LCP: 0.0
UOPS_MITE>=1: 1.1
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: 118.65
Reference cycles: 72.0
UOPS_EXECUTED.THREAD: 22.4
RETIRE_SLOTS: 27.13
UOPS_MITE: 0.92
UOPS_MS: 11.18
UOPS_PORT_0: 4.1
UOPS_PORT_1: 8.67
UOPS_PORT_6: 5.8
UOPS_PORT_49: 0.0
UOPS_PORT_78: 0.0
UOPS_PORT_5B: 4.9
UOPS_PORT_5B>=2: 0.8
UOPS_PORT_23A: 1.0
DIV_CYCLES: 0.0
ILD_STALL.LCP: 0.0
UOPS_MITE>=1: 0.78