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: 13829.85
Reference cycles: 8267.25
UOPS_EXECUTED.THREAD: 80.1
RETIRE_SLOTS: 64.53
UOPS_MITE: 0.0
UOPS_MS: 91.2
UOPS_PORT_0: 8.0
UOPS_PORT_1: 13.9
UOPS_PORT_5: 12.0
UOPS_PORT_6: 23.32
UOPS_PORT_23: 1.0
UOPS_PORT_49: 9.33
UOPS_PORT_78: 12.33
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: 13817.95
Reference cycles: 8258.73
UOPS_EXECUTED.THREAD: 80.05
RETIRE_SLOTS: 65.6
UOPS_MITE: 1.17
UOPS_MS: 91.2
UOPS_PORT_0: 8.0
UOPS_PORT_1: 13.9
UOPS_PORT_5: 12.0
UOPS_PORT_6: 23.25
UOPS_PORT_23: 1.0
UOPS_PORT_49: 9.28
UOPS_PORT_78: 12.28
DIV_CYCLES: 0.0
ILD_STALL.LCP: 0.0
UOPS_MITE>=1: 1.0
With loop_count=2 and unroll_count=1
Code:
0: 49 0f c7 f0 rdrand r8
Show nanoBench command
Results:
Instructions retired: 3.0
Core cycles: 13541.75
Reference cycles: 8096.92
UOPS_EXECUTED.THREAD: 80.75
RETIRE_SLOTS: 64.33
UOPS_MITE: 1.09
UOPS_MS: 92.0
UOPS_PORT_0: 8.0
UOPS_PORT_1: 14.0
UOPS_PORT_5: 12.0
UOPS_PORT_6: 23.83
UOPS_PORT_23: 1.0
UOPS_PORT_49: 9.17
UOPS_PORT_78: 12.17
DIV_CYCLES: 0.0
ILD_STALL.LCP: 0.0
UOPS_MITE>=1: 1.0