RCR (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:
RCR_GPRv_IMMb
iclass:
RCR
ASM:
RCR
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 (r/w, suppressed): Flags (CF: r/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:
5
Latency operand 1 → 3:
6
Latency operand 3 → 1:
5
Latency operand 3 → 3:
6
Throughput
Computed from the port usage: 2.00
Measured (loop):
6.00
Measured (unrolled):
5.87
Number of μops
Executed: 7
Retire slots: 7
Decoded (MITE): 2
Microcode Sequencer (MS): 5
Requires the complex decoder (no other instruction can be decoded with simple decoders in the same cycle)
Port usage:
2*p0156B+3*p06+2*p1
Alder Lake-E
Measurements
Latencies
Latency operand 1 → 1:
7
Latency operand 1 → 3:
7
Latency operand 3 → 1:
6
Latency operand 3 → 3:
6
Throughput
Measured (loop):
9.65
Measured (unrolled):
10.82
Number of μops
Executed: 14
Microcode Sequencer (MS): 13
Requires the complex decoder
Rocket Lake
Measurements
Latencies
Latency operand 1 → 1:
5
Latency operand 1 → 3:
6
Latency operand 3 → 1:
5
Latency operand 3 → 3:
6
Throughput
Computed from the port usage: 2.00
Measured (loop):
6.00
Measured (unrolled):
6.00
Number of μops
Executed: 7
Retire slots: 7
Decoded (MITE): 2
Microcode Sequencer (MS): 5
Requires the complex decoder (no other instruction can be decoded with simple decoders in the same cycle)
Port usage:
2*p0156+3*p06+2*p1
Tiger Lake
Measurements
Latencies
Latency operand 1 → 1:
5
Latency operand 1 → 3:
6
Latency operand 3 → 1:
5
Latency operand 3 → 3:
6
Throughput
Computed from the port usage: 2.00
Measured (loop):
6.00
Measured (unrolled):
6.00
Number of μops
Executed: 7
Retire slots: 7
Decoded (MITE): 2
Microcode Sequencer (MS): 5
Requires the complex decoder (no other instruction can be decoded with simple decoders in the same cycle)
Port usage:
2*p0156+3*p06+2*p1
Ice Lake
Measurements
Latencies
Latency operand 1 → 1:
5
Latency operand 1 → 3:
6
Latency operand 3 → 1:
5
Latency operand 3 → 3:
6
Throughput
Computed from the port usage: 2.00
Measured (loop):
6.00
Measured (unrolled):
6.00
Number of μops
Executed: 7
Retire slots: 7
Decoded (MITE): 2
Microcode Sequencer (MS): 5
Requires the complex decoder (no other instruction can be decoded with simple decoders in the same cycle)
Port usage:
2*p0156+3*p06+2*p1
Cascade Lake
Measurements
Latencies
Latency operand 1 → 1:
5
Latency operand 1 → 3:
6
Latency operand 3 → 1:
5
Latency operand 3 → 3:
6
Throughput
Computed from the port usage: 2.00
Measured (loop):
6.00
Measured (unrolled):
6.00
Number of μops
Executed: 8
Retire slots: 8
Decoded (MITE): 2
Microcode Sequencer (MS): 6
Requires the complex decoder (no other instruction can be decoded with simple decoders in the same cycle)
Port usage:
2*p0156+4*p06+2*p1
Cannon Lake
Measurements
Latencies
Latency operand 1 → 1:
5
Latency operand 1 → 3:
6
Latency operand 3 → 1:
5
Latency operand 3 → 3:
6
Throughput
Computed from the port usage: 2.00
Measured (loop):
6.00
Measured (unrolled):
6.00
Number of μops
Executed: 8
Retire slots: 8
Decoded (MITE): 2
Microcode Sequencer (MS): 6
Requires the complex decoder (no other instruction can be decoded with simple decoders in the same cycle)
Port usage:
2*p0156+4*p06+2*p1
Skylake-X
Measurements
Latencies
Latency operand 1 → 1:
5
Latency operand 1 → 3:
6
Latency operand 3 → 1:
5
Latency operand 3 → 3:
6
Throughput
Computed from the port usage: 2.00
Measured (loop):
6.00
Measured (unrolled):
5.97
Number of μops
Executed: 8
Retire slots: 8
Decoded (MITE): 2
Microcode Sequencer (MS): 6
Requires the complex decoder (no other instruction can be decoded with simple decoders in the same cycle)
Port usage:
2*p0156+4*p06+2*p1
IACA 2.3
Throughput
Computed from the port usage: 0.75
IACA:
1.00
Number of μops:
3
Port usage:
2*p0156+1*p06
IACA 3.0
Throughput
Computed from the port usage: 0.75
IACA:
0.75
Number of μops:
3
Port usage:
2*p0156+1*p06
Coffee Lake
Measurements
Latencies
Latency operand 1 → 1:
6
Latency operand 1 → 3:
6
Latency operand 3 → 1:
5
Latency operand 3 → 3:
6
Throughput
Computed from the port usage: 2.00
Measured (loop):
6.00
Measured (unrolled):
6.00
Number of μops
Executed: 8
Retire slots: 8
Decoded (MITE): 2
Microcode Sequencer (MS): 6
Requires the complex decoder (no other instruction can be decoded with simple decoders in the same cycle)
Port usage:
2*p0156+4*p06+2*p1
Kaby Lake
Measurements
Latencies
Latency operand 1 → 1:
5
Latency operand 1 → 3:
6
Latency operand 3 → 1:
5
Latency operand 3 → 3:
6
Throughput
Computed from the port usage: 2.00
Measured (loop):
6.00
Measured (unrolled):
6.00
Number of μops
Executed: 8
Retire slots: 8
Decoded (MITE): 2
Microcode Sequencer (MS): 6
Requires the complex decoder (no other instruction can be decoded with simple decoders in the same cycle)
Port usage:
2*p0156+4*p06+2*p1
Skylake
Measurements
Latencies
Latency operand 1 → 1:
6
Latency operand 1 → 3:
6
Latency operand 3 → 1:
5
Latency operand 3 → 3:
6
Throughput
Computed from the port usage: 2.00
Measured (loop):
6.00
Measured (unrolled):
6.00
Number of μops
Executed: 8
Retire slots: 8
Decoded (MITE): 2
Microcode Sequencer (MS): 6
Requires the complex decoder (no other instruction can be decoded with simple decoders in the same cycle)
Port usage:
2*p0156+4*p06+2*p1
IACA 2.3
Throughput
Computed from the port usage: 0.75
IACA:
1.00
Number of μops:
3
Port usage:
2*p0156+1*p06
IACA 3.0
Throughput
Computed from the port usage: 0.75
IACA:
0.75
Number of μops:
3
Port usage:
2*p0156+1*p06
Broadwell
Measurements
Latencies
Latency operand 1 → 1:
5
Latency operand 1 → 3:
6
Latency operand 3 → 1:
5
Latency operand 3 → 3:
6
Throughput
Computed from the port usage: 2.00
Measured (loop):
6.00
Measured (unrolled):
6.00
Number of μops
Executed: 8
Retire slots: 8
Decoded (MITE): 2
Microcode Sequencer (MS): 6
Requires the complex decoder (no other instruction can be decoded with simple decoders in the same cycle)
Port usage:
2*p0156+4*p06+2*p1
IACA 2.2
Throughput
Computed from the port usage: 0.75
IACA:
1.00 (with the -no_interiteration flag: 0.75)
Number of μops:
3
Port usage:
2*p0156+1*p06
IACA 2.3
Throughput
Computed from the port usage: 0.75
IACA:
1.00
Number of μops:
3
Port usage:
2*p0156+1*p06
IACA 3.0
Throughput
Computed from the port usage: 0.75
IACA:
0.75
Number of μops:
3
Port usage:
2*p0156+1*p06
Haswell
Measurements
Latencies
Latency operand 1 → 1:
5
Latency operand 1 → 3:
6
Latency operand 3 → 1:
5
Latency operand 3 → 3:
6
Throughput
Computed from the port usage: 2.00
Measured (loop):
6.00
Measured (unrolled):
6.00
Number of μops
Executed: 8
Retire slots: 8
Decoded (MITE): 2
Microcode Sequencer (MS): 6
Requires the complex decoder (no other instruction can be decoded with simple decoders in the same cycle)
Port usage:
2*p0156+4*p06+2*p1
IACA 2.2
Throughput
Computed from the port usage: 0.75
IACA:
1.00 (with the -no_interiteration flag: 0.75)
Number of μops:
3
Port usage:
2*p0156+1*p06
IACA 2.3
Throughput
Computed from the port usage: 0.75
IACA:
1.00
Number of μops:
3
Port usage:
2*p0156+1*p06
IACA 3.0
Throughput
Computed from the port usage: 0.75
IACA:
0.75
Number of μops:
3
Port usage:
2*p0156+1*p06
Ivy Bridge
Measurements
Latencies
Latency operand 1 → 1:
4
Latency operand 1 → 3:
4
Latency operand 3 → 1:
4
Latency operand 3 → 3:
4
Throughput
Computed from the port usage: 2.67
Measured (loop):
5.00
Measured (unrolled):
5.00
Number of μops
Executed: 8
Retire slots: 8
Decoded (MITE): 2
Microcode Sequencer (MS): 6
Requires the complex decoder (no other instruction can be decoded with simple decoders in the same cycle)
Port usage:
2*p015+4*p05+1*p1+1*p5
Sandy Bridge
Measurements
Latencies
Latency operand 1 → 1:
3
Latency operand 1 → 3:
4
Latency operand 3 → 1:
3
Latency operand 3 → 3:
4
Throughput
Computed from the port usage: 2.67
Measured (loop):
5.00
Measured (unrolled):
5.00
Number of μops
Executed: 8
Retire slots: 8
Decoded (MITE): 2
Microcode Sequencer (MS): 6
Requires the complex decoder (no other instruction can be decoded with simple decoders in the same cycle)
Port usage:
2*p015+4*p05+1*p1+1*p5
Westmere
Measurements
Latencies
Latency operand 1 → 1:
5
Latency operand 1 → 3:
13
Latency operand 3 → 1:
5
Latency operand 3 → 3:
12
Throughput
Computed from the port usage: 2.00
Measured (loop):
5.00
Measured (unrolled):
5.00
Number of μops
Executed: 6
Retire slots: 6
Microcode Sequencer (MS): 15
Requires the complex decoder
Port usage:
3*p015+1*p05+2*p1
Nehalem
Measurements
Latencies
Latency operand 1 → 1:
5
Latency operand 1 → 3:
13
Latency operand 3 → 1:
5
Latency operand 3 → 3:
12
Throughput
Computed from the port usage: 2.00
Measured (loop):
5.00
Measured (unrolled):
5.00
Number of μops
Executed: 6
Retire slots: 6
Microcode Sequencer (MS): 15
Requires the complex decoder
Port usage:
3*p015+1*p05+2*p1
Wolfdale
Measurements
Latencies
Latency operand 1 → 1:
3
Latency operand 1 → 3:
11
Latency operand 3 → 1:
4
Latency operand 3 → 3:
9
Throughput
Computed from the port usage: 2.00
Measured (loop):
5.00
Measured (unrolled):
5.00
Number of μops
Executed: 6
Port usage:
2*p015+2*p05+1*p1+1*p5
Conroe
Measurements
Latencies
Latency operand 1 → 1:
3
Latency operand 1 → 3:
11
Latency operand 3 → 1:
4
Latency operand 3 → 3:
9
Throughput
Computed from the port usage: 2.00
Measured (loop):
5.00
Measured (unrolled):
5.00
Number of μops
Executed: 6
Port usage:
2*p015+2*p05+1*p1+1*p5
Tremont
Measurements
Latencies
Latency operand 1 → 1:
6
Latency operand 1 → 3:
7
Latency operand 3 → 1:
6
Latency operand 3 → 3:
6
Throughput
Measured (loop):
11.00
Measured (unrolled):
11.00
Number of μops
Executed: 15
Microcode Sequencer (MS): 14
Requires the complex decoder
Goldmont Plus
Measurements
Latencies
Latency operand 1 → 1:
6
Latency operand 1 → 3:
7
Latency operand 3 → 1:
6
Latency operand 3 → 3:
6
Throughput
Measured (loop):
11.00
Measured (unrolled):
11.00
Number of μops
Executed: 13
Microcode Sequencer (MS): 13
Requires the complex decoder
Goldmont
Measurements
Latencies
Latency operand 1 → 1:
9
Latency operand 1 → 3:
10
Latency operand 3 → 1:
9
Latency operand 3 → 3:
8
Throughput
Measured (loop):
12.00
Measured (unrolled):
12.00
Number of μops
Executed: 14
Microcode Sequencer (MS): 14
Requires the complex decoder
Airmont
Measurements
Latencies
Latency operand 1 → 1:
7
Latency operand 1 → 3:
6
Latency operand 3 → 1:
7
Latency operand 3 → 3:
7
Throughput
Measured (loop):
12.00
Measured (unrolled):
12.00
Number of μops
Executed: 11
Microcode Sequencer (MS): 11
Requires the complex decoder
Bonnell
Measurements
Latencies
Latency operand 1 → 1:
11
Latency operand 1 → 3:
11
Latency operand 3 → 1:
11
Latency operand 3 → 3:
11
Throughput
Measured (loop):
12.00
Measured (unrolled):
12.00
Number of μops
Executed: 12
Microcode Sequencer (MS): 12
Requires the complex decoder
AMD Zen 4
Measurements
Latencies
Latency operand 1 → 1:
2
Latency operand 1 → 3:
2
Latency operand 3 → 1:
2
Latency operand 3 → 3:
2
Throughput
Measured (loop):
3.00
Measured (unrolled):
3.00
Number of μops
Executed: 7
AMD Zen 3
Measurements
Latencies
Latency operand 1 → 1:
2
Latency operand 1 → 3:
2
Latency operand 3 → 1:
2
Latency operand 3 → 3:
2
Throughput
Measured (loop):
3.00
Measured (unrolled):
3.00
Number of μops
Executed: 7
Documentation
Latency: 1
Throughput: 0.50
Number of μops: 1
Port usage: ALU1/2
AMD Zen 2
Measurements
Latencies
Latency operand 1 → 1:
2
Latency operand 1 → 3:
2
Latency operand 3 → 1:
2
Latency operand 3 → 3:
2
Throughput
Measured (loop):
3.00
Measured (unrolled):
3.00
Number of μops
Executed: 7
Documentation
Latency: 1
Throughput: 1.00
Number of μops: 1
Port usage: ALU
AMD Zen+
Measurements
Latencies
Latency operand 1 → 1:
2
Latency operand 1 → 3:
2
Latency operand 3 → 1:
2
Latency operand 3 → 3:
2
Throughput
Measured (loop):
3.00
Measured (unrolled):
3.00
Number of μops
Executed: 7
Documentation
Latency: 1
Throughput: 1.00
Number of μops: 1
Port usage: ALU