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: 7391.15
Reference cycles: 6390.0
UOPS_EXECUTED.THREAD: 14407.25
RETIRE_SLOTS: 14350.0
UOPS_MITE: 0.0
UOPS_MS: 14526.07
UOPS_PORT_0: 3106.58
UOPS_PORT_1: 3006.88
UOPS_PORT_2: 996.02
UOPS_PORT_3: 1000.67
UOPS_PORT_4: 17.0
UOPS_PORT_5: 2988.28
UOPS_PORT_6: 3282.25
UOPS_PORT_7: 9.67
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: 7241.72
Reference cycles: 6220.0
UOPS_EXECUTED.THREAD: 14407.33
RETIRE_SLOTS: 14351.0
UOPS_MITE: 1.0
UOPS_MS: 14526.65
UOPS_PORT_0: 3120.62
UOPS_PORT_1: 3001.5
UOPS_PORT_2: 996.03
UOPS_PORT_3: 1000.63
UOPS_PORT_4: 17.0
UOPS_PORT_5: 2980.5
UOPS_PORT_6: 3283.2
UOPS_PORT_7: 9.67
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: 7243.13
Reference cycles: 6222.5
UOPS_EXECUTED.THREAD: 14408.08
RETIRE_SLOTS: 14351.0
UOPS_MITE: 1.0
UOPS_MS: 14526.08
UOPS_PORT_0: 3111.48
UOPS_PORT_1: 3004.42
UOPS_PORT_2: 996.05
UOPS_PORT_3: 1000.6
UOPS_PORT_4: 17.02
UOPS_PORT_5: 2982.78
UOPS_PORT_6: 3283.77
UOPS_PORT_7: 9.62
DIV_CYCLES: 0.0
ILD_STALL.LCP: 0.0
UOPS_MITE>=1: 1.0