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: 7242.97
Reference cycles: 6220.0
UOPS_EXECUTED.THREAD: 14407.27
RETIRE_SLOTS: 14350.0
UOPS_MITE: 0.0
UOPS_MS: 14526.6
UOPS_PORT_0: 3115.28
UOPS_PORT_1: 3003.42
UOPS_PORT_2: 996.0
UOPS_PORT_3: 1000.7
UOPS_PORT_4: 17.0
UOPS_PORT_5: 2984.43
UOPS_PORT_6: 3283.23
UOPS_PORT_7: 9.68
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: 7240.5
Reference cycles: 6227.5
UOPS_EXECUTED.THREAD: 14407.57
RETIRE_SLOTS: 14351.0
UOPS_MITE: 1.0
UOPS_MS: 14526.8
UOPS_PORT_0: 3115.92
UOPS_PORT_1: 3002.68
UOPS_PORT_2: 996.07
UOPS_PORT_3: 1000.57
UOPS_PORT_4: 17.0
UOPS_PORT_5: 2981.3
UOPS_PORT_6: 3284.57
UOPS_PORT_7: 9.63
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: 7241.02
Reference cycles: 6222.5
UOPS_EXECUTED.THREAD: 14408.65
RETIRE_SLOTS: 14351.0
UOPS_MITE: 1.0
UOPS_MS: 14526.87
UOPS_PORT_0: 3116.5
UOPS_PORT_1: 3002.23
UOPS_PORT_2: 996.07
UOPS_PORT_3: 1000.57
UOPS_PORT_4: 17.0
UOPS_PORT_5: 2981.42
UOPS_PORT_6: 3284.62
UOPS_PORT_7: 9.65
DIV_CYCLES: 0.0
ILD_STALL.LCP: 0.0
UOPS_MITE>=1: 1.0