ROL (R32, I8)
Summary:
"Rotate"
Reference:
https://www.felixcloutier.com/x86/RCL:RCR:ROL:ROR.html
Extension:
BASE
Category:
ROTATE
ISA-Set:
I186
CPL:
3
iform:
ROL_GPRv_IMMb
iclass:
ROL
ASM:
ROL
Operands
Operand 1 (r/w): Register (EAX, ECX, EDX, EBX, ESP, EBP, ESI, EDI, R8D, R9D, R10D, R11D, R12D, R13D, R14D, R15D)
Operand 2 (r): 8-bit immediate
Operand 3 (w, suppressed): Flags (CF: w, OF: undef)
Available performance data
Alder Lake-P
Alder Lake-E
Rocket Lake
Tiger Lake
Ice Lake
Cascade Lake
Cannon Lake
Skylake-X
Coffee Lake
Kaby Lake
Skylake
Broadwell
Haswell
Ivy Bridge
Sandy Bridge
Westmere
Nehalem
Wolfdale
Conroe
Tremont
Goldmont Plus
Goldmont
Airmont
Bonnell
AMD Zen 4
AMD Zen 3
AMD Zen 2
AMD Zen+
Alder Lake-P
Measurements
Latencies
Latency operand 1 → 1:
1
Latency operand 1 → 3:
1
Throughput
Computed from the port usage: 0.50
Measured (loop):
0.50
Measured (unrolled):
0.50
Number of μops
Executed: 1
Retire slots: 1
Decoded (MITE): 1
Microcode Sequencer (MS): 0
Port usage:
1*p06
Alder Lake-E
Measurements
Latencies
Latency operand 1 → 1:
1
Latency operand 1 → 3:
2
Throughput
Measured (loop):
1.00
Measured (unrolled):
1.00
Number of μops
Executed: 1
Microcode Sequencer (MS): 0
Rocket Lake
Measurements
Latencies
Latency operand 1 → 1:
1
Latency operand 1 → 3:
1
Throughput
Computed from the port usage: 0.50
Measured (loop):
0.50
Measured (unrolled):
0.50
Number of μops
Executed: 1
Retire slots: 1
Decoded (MITE): 1
Microcode Sequencer (MS): 0
Port usage:
1*p06
Tiger Lake
Measurements
Latencies
Latency operand 1 → 1:
1
Latency operand 1 → 3:
1
Throughput
Computed from the port usage: 0.50
Measured (loop):
0.50
Measured (unrolled):
0.50
Number of μops
Executed: 1
Retire slots: 1
Decoded (MITE): 1
Microcode Sequencer (MS): 0
Port usage:
1*p06
Ice Lake
Measurements
Latencies
Latency operand 1 → 1:
1
Latency operand 1 → 3:
1
Throughput
Computed from the port usage: 0.50
Measured (loop):
0.50
Measured (unrolled):
0.50
Number of μops
Executed: 1
Retire slots: 1
Decoded (MITE): 1
Microcode Sequencer (MS): 0
Port usage:
1*p06
Cascade Lake
Measurements
Latencies
Latency operand 1 → 1:
1
Latency operand 1 → 3:
1
Throughput
Computed from the port usage: 0.50
Measured (loop):
0.50
Measured (unrolled):
0.50
Number of μops
Executed: 1
Retire slots: 1
Decoded (MITE): 1
Microcode Sequencer (MS): 0
Port usage:
1*p06
Cannon Lake
Measurements
Latencies
Latency operand 1 → 1:
1
Latency operand 1 → 3:
1
Throughput
Computed from the port usage: 0.50
Measured (loop):
0.50
Measured (unrolled):
0.50
Number of μops
Executed: 1
Retire slots: 1
Decoded (MITE): 1
Microcode Sequencer (MS): 0
Port usage:
1*p06
Skylake-X
Measurements
Latencies
Latency operand 1 → 1:
1
Latency operand 1 → 3:
1
Throughput
Computed from the port usage: 0.50
Measured (loop):
0.50
Measured (unrolled):
0.50
Number of μops
Executed: 1
Retire slots: 1
Decoded (MITE): 1
Microcode Sequencer (MS): 0
Port usage:
1*p06
IACA 2.3
Throughput
Computed from the port usage: 1.00
IACA:
1.00
Number of μops:
2
Port usage:
2*p06
IACA 3.0
Throughput
Computed from the port usage: 1.00
IACA:
1.00
Number of μops:
2
Port usage:
2*p06
Coffee Lake
Measurements
Latencies
Latency operand 1 → 1:
1
Latency operand 1 → 3:
1
Throughput
Computed from the port usage: 0.50
Measured (loop):
0.50
Measured (unrolled):
0.50
Number of μops
Executed: 1
Retire slots: 1
Decoded (MITE): 1
Microcode Sequencer (MS): 0
Port usage:
1*p06
Kaby Lake
Measurements
Latencies
Latency operand 1 → 1:
1
Latency operand 1 → 3:
1
Throughput
Computed from the port usage: 0.50
Measured (loop):
0.50
Measured (unrolled):
0.50
Number of μops
Executed: 1
Retire slots: 1
Decoded (MITE): 1
Microcode Sequencer (MS): 0
Port usage:
1*p06
Skylake
Measurements
Latencies
Latency operand 1 → 1:
1
Latency operand 1 → 3:
1
Throughput
Computed from the port usage: 0.50
Measured (loop):
0.50
Measured (unrolled):
0.50
Number of μops
Executed: 1
Retire slots: 1
Decoded (MITE): 1
Microcode Sequencer (MS): 0
Port usage:
1*p06
IACA 2.3
Throughput
Computed from the port usage: 1.00
IACA:
1.00
Number of μops:
2
Port usage:
2*p06
IACA 3.0
Throughput
Computed from the port usage: 1.00
IACA:
1.00
Number of μops:
2
Port usage:
2*p06
Broadwell
Measurements
Latencies
Latency operand 1 → 1:
1
Latency operand 1 → 3:
1
Throughput
Computed from the port usage: 0.50
Measured (loop):
0.50
Measured (unrolled):
0.50
Number of μops
Executed: 1
Retire slots: 1
Decoded (MITE): 1
Microcode Sequencer (MS): 0
Port usage:
1*p06
IACA 2.2
Throughput
Computed from the port usage: 1.00
IACA:
1.00 (with the -no_interiteration flag: 1.00)
Number of μops:
2
Port usage:
2*p06
IACA 2.3
Throughput
Computed from the port usage: 1.00
IACA:
1.00
Number of μops:
2
Port usage:
2*p06
IACA 3.0
Throughput
Computed from the port usage: 1.00
IACA:
1.00
Number of μops:
2
Port usage:
2*p06
Haswell
Measurements
Latencies
Latency operand 1 → 1:
1
Latency operand 1 → 3:
1
Throughput
Computed from the port usage: 0.50
Measured (loop):
0.50
Measured (unrolled):
0.50
Number of μops
Executed: 1
Retire slots: 1
Decoded (MITE): 1
Microcode Sequencer (MS): 0
Port usage:
1*p06
IACA 2.1
Latency:
1
Throughput
Computed from the port usage: 0.50
IACA:
0.50 (with the -no_interiteration flag: 0.50)
Number of μops:
1
Port usage:
1*p06
IACA 2.2
Throughput
Computed from the port usage: 1.00
IACA:
1.00 (with the -no_interiteration flag: 1.00)
Number of μops:
2
Port usage:
2*p06
IACA 2.3
Throughput
Computed from the port usage: 1.00
IACA:
1.00
Number of μops:
2
Port usage:
2*p06
IACA 3.0
Throughput
Computed from the port usage: 1.00
IACA:
1.00
Number of μops:
2
Port usage:
2*p06
Ivy Bridge
Measurements
Latencies
Latency operand 1 → 1:
1
Latency operand 1 → 3:
1
Throughput
Computed from the port usage: 0.50
Measured (loop):
0.50
Measured (unrolled):
0.50
Number of μops
Executed: 1
Retire slots: 1
Decoded (MITE): 1
Microcode Sequencer (MS): 0
Port usage:
1*p05
IACA 2.1
Latency:
1
Throughput
Computed from the port usage: 0.50
IACA:
0.50 (with the -no_interiteration flag: 0.50)
Number of μops:
1
Port usage:
1*p05
IACA 2.2
Throughput
Computed from the port usage: 0.50
IACA:
0.50 (with the -no_interiteration flag: 0.50)
Number of μops:
1
Port usage:
1*p05
IACA 2.3
Throughput
Computed from the port usage: 0.50
IACA:
0.50
Number of μops:
1
Port usage:
1*p05
Sandy Bridge
Measurements
Latencies
Latency operand 1 → 1:
1
Latency operand 1 → 3:
1
Throughput
Computed from the port usage: 1.00
Measured (loop):
1.00
Measured (unrolled):
1.00
Number of μops
Executed: 2
Retire slots: 2
Decoded (MITE): 2
Microcode Sequencer (MS): 0
Requires the complex decoder (2 other instructions can be decoded with simple decoders in the same cycle)
Port usage:
2*p05
IACA 2.1
Latency:
2
Throughput
Computed from the port usage: 1.00
IACA:
1.00 (with the -no_interiteration flag: 1.00)
Number of μops:
2
Port usage:
2*p05
IACA 2.2
Throughput
Computed from the port usage: 1.00
IACA:
1.00 (with the -no_interiteration flag: 1.00)
Number of μops:
2
Port usage:
2*p05
IACA 2.3
Throughput
Computed from the port usage: 1.00
IACA:
1.00
Number of μops:
2
Port usage:
2*p05
Westmere
Measurements
Latencies
Latency operand 1 → 1:
1
Latency operand 1 → 3:
1
Throughput
Computed from the port usage: 0.50
Measured (loop):
0.58
Measured (unrolled):
1.00
Number of μops
Executed: 1
Retire slots: 1
Microcode Sequencer (MS): 0
Requires the complex decoder
Port usage:
1*p05
IACA 2.1
Latency:
1
Throughput
Computed from the port usage: 0.50
IACA:
0.54 (with the -no_interiteration flag: 0.50)
Number of μops:
1
Port usage:
1*p05
IACA 2.2
Throughput
Computed from the port usage: 0.50
IACA:
0.54 (with the -no_interiteration flag: 0.50)
Number of μops:
1
Port usage:
1*p05
Nehalem
Measurements
Latencies
Latency operand 1 → 1:
1
Latency operand 1 → 3:
1
Throughput
Computed from the port usage: 0.50
Measured (loop):
0.58
Measured (unrolled):
1.00
Number of μops
Executed: 1
Retire slots: 1
Microcode Sequencer (MS): 0
Requires the complex decoder
Port usage:
1*p05
IACA 2.1
Latency:
1
Throughput
Computed from the port usage: 0.50
IACA:
0.54 (with the -no_interiteration flag: 0.50)
Number of μops:
1
Port usage:
1*p05
IACA 2.2
Throughput
Computed from the port usage: 0.50
IACA:
0.54 (with the -no_interiteration flag: 0.50)
Number of μops:
1
Port usage:
1*p05
Wolfdale
Measurements
Latencies
Latency operand 1 → 1:
1
Latency operand 1 → 3:
9
Throughput
Computed from the port usage: 0.50
Measured (loop):
1.00
Measured (unrolled):
1.00
Number of μops
Executed: 1
Port usage:
1*p05
Conroe
Measurements
Latencies
Latency operand 1 → 1:
1
Latency operand 1 → 3:
9
Throughput
Computed from the port usage: 0.50
Measured (loop):
1.00
Measured (unrolled):
1.00
Number of μops
Executed: 1
Port usage:
1*p05
Tremont
Measurements
Latencies
Latency operand 1 → 1:
1
Latency operand 1 → 3:
2
Throughput
Measured (loop):
1.00
Measured (unrolled):
1.00
Number of μops
Executed: 1
Microcode Sequencer (MS): 0
Goldmont Plus
Measurements
Latencies
Latency operand 1 → 1:
1
Latency operand 1 → 3:
2
Throughput
Measured (loop):
1.00
Measured (unrolled):
1.00
Number of μops
Executed: 1
Microcode Sequencer (MS): 0
Goldmont
Measurements
Latencies
Latency operand 1 → 1:
1
Latency operand 1 → 3:
2
Throughput
Measured (loop):
1.00
Measured (unrolled):
1.00
Number of μops
Executed: 1
Microcode Sequencer (MS): 0
Airmont
Measurements
Latencies
Latency operand 1 → 1:
1
Latency operand 1 → 3:
2
Throughput
Measured (loop):
1.02
Measured (unrolled):
1.00
Number of μops
Executed: 1
Microcode Sequencer (MS): 0
Bonnell
Measurements
Latencies
Latency operand 1 → 1:
1
Latency operand 1 → 3:
1
Throughput
Measured (loop):
1.00
Measured (unrolled):
1.00
Number of μops
Executed: 1
Microcode Sequencer (MS): 0
AMD Zen 4
Measurements
Latencies
Latency operand 1 → 1:
1
Latency operand 1 → 3:
1
Throughput
Measured (loop):
0.50
Measured (unrolled):
0.50
Number of μops
Executed: 1
AMD Zen 3
Measurements
Latencies
Latency operand 1 → 1:
1
Latency operand 1 → 3:
1
Throughput
Measured (loop):
0.50
Measured (unrolled):
0.50
Number of μops
Executed: 1
Documentation
Latency: 1
Throughput: 0.50
Number of μops: 1
Port usage: ALU1/2
AMD Zen 2
Measurements
Latencies
Latency operand 1 → 1:
1
Latency operand 1 → 3:
1
Throughput
Measured (loop):
0.25
Measured (unrolled):
0.25
Number of μops
Executed: 1
Documentation
Latency: 1
Throughput: 0.25
Number of μops: 1
Port usage: ALU
AMD Zen+
Measurements
Latencies
Latency operand 1 → 1:
1
Latency operand 1 → 3:
1
Throughput
Measured (loop):
0.25
Measured (unrolled):
0.25
Number of μops
Executed: 1
Documentation
Latency: 1
Throughput: 0.25
Number of μops: 1
Port usage: ALU