RDRAND (R32) - Throughput and Uops
With 1 independent instruction
With unroll_count=10 and no inner loop
Code:
0: 41 0f c7 f0 rdrand r8d
Show nanoBench command
Results:
Instructions retired: 1.0
Core cycles: 6160.05
Reference cycles: 5472.95
UOPS_EXECUTED.THREAD: 11108.65
RETIRE_SLOTS: 11045.0
UOPS_MITE: 0.0
UOPS_MS: 11215.75
UOPS_PORT_0: 2391.6
UOPS_PORT_1: 2328.63
UOPS_PORT_2: 765.95
UOPS_PORT_3: 766.95
UOPS_PORT_4: 17.9
UOPS_PORT_5: 2294.77
UOPS_PORT_6: 2534.47
UOPS_PORT_7: 10.1
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: 41 0f c7 f0 rdrand r8d 4: 90 nop
Show nanoBench command
Results:
Instructions retired: 2.0
Core cycles: 6159.43
Reference cycles: 5475.17
UOPS_EXECUTED.THREAD: 11109.33
RETIRE_SLOTS: 11046.0
UOPS_MITE: 1.0
UOPS_MS: 11215.63
UOPS_PORT_0: 2387.4
UOPS_PORT_1: 2328.57
UOPS_PORT_2: 765.98
UOPS_PORT_3: 766.95
UOPS_PORT_4: 17.9
UOPS_PORT_5: 2298.48
UOPS_PORT_6: 2534.07
UOPS_PORT_7: 10.07
DIV_CYCLES: 0.0
ILD_STALL.LCP: 0.0
UOPS_MITE>=1: 1.0
With loop_count=10 and unroll_count=1
Code:
0: 41 0f c7 f0 rdrand r8d
Show nanoBench command
Results:
Instructions retired: 3.0
Core cycles: 6161.4
Reference cycles: 5477.38
UOPS_EXECUTED.THREAD: 11109.97
RETIRE_SLOTS: 11046.0
UOPS_MITE: 1.0
UOPS_MS: 11215.4
UOPS_PORT_0: 2387.02
UOPS_PORT_1: 2328.27
UOPS_PORT_2: 765.98
UOPS_PORT_3: 766.95
UOPS_PORT_4: 17.87
UOPS_PORT_5: 2298.1
UOPS_PORT_6: 2535.3
UOPS_PORT_7: 10.07
DIV_CYCLES: 0.0
ILD_STALL.LCP: 0.0
UOPS_MITE>=1: 1.0