PCLMULQDQ (XMM, XMM, I8)
Summary:
"Carry-Less Multiplication Quadword"
Reference:
https://www.felixcloutier.com/x86/PCLMULQDQ.html
Extension:
PCLMULQDQ
Category:
PCLMULQDQ
ISA-Set:
PCLMULQDQ
CPL:
3
iform:
PCLMULQDQ_XMMdq_XMMdq_IMMb
iclass:
PCLMULQDQ
ASM:
PCLMULQDQ
Operands
Operand 1 (r/w): Register (XMM0, XMM1, XMM2, XMM3, XMM4, XMM5, XMM6, XMM7, XMM8, XMM9, XMM10, XMM11, XMM12, XMM13, XMM14, XMM15)
Operand 2 (r): Register (XMM0, XMM1, XMM2, XMM3, XMM4, XMM5, XMM6, XMM7, XMM8, XMM9, XMM10, XMM11, XMM12, XMM13, XMM14, XMM15)
Operand 3 (r): 8-bit immediate
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
Tremont
Goldmont Plus
Goldmont
Airmont
AMD Zen 4
AMD Zen 3
AMD Zen 2
AMD Zen+
Alder Lake-P
Measurements
Latencies
Latency operand 1 → 1:
3
Latency operand 2 → 1:
3
Throughput
Computed from the port usage: 1.00
Measured (loop):
1.00
Measured (unrolled):
1.00
Number of μops
Executed: 1
Retire slots: 1
Decoded (MITE): 1
Microcode Sequencer (MS): 0
Port usage:
1*p5
Alder Lake-E
Measurements
Latencies
Latency operand 1 → 1:
4
Latency operand 2 → 1:
4
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:
6
Latency operand 2 → 1:
6
Throughput
Computed from the port usage: 1.00
Measured (loop):
1.00
Measured (unrolled):
1.00
Number of μops
Executed: 1
Retire slots: 1
Decoded (MITE): 1
Microcode Sequencer (MS): 0
Port usage:
1*p5
Tiger Lake
Measurements
Latencies
Latency operand 1 → 1:
6
Latency operand 2 → 1:
6
Throughput
Computed from the port usage: 1.00
Measured (loop):
1.00
Measured (unrolled):
1.00
Number of μops
Executed: 1
Retire slots: 1
Decoded (MITE): 1
Microcode Sequencer (MS): 0
Port usage:
1*p5
Ice Lake
Measurements
Latencies
Latency operand 1 → 1:
6
Latency operand 2 → 1:
6
Throughput
Computed from the port usage: 1.00
Measured (loop):
1.00
Measured (unrolled):
1.00
Number of μops
Executed: 1
Retire slots: 1
Decoded (MITE): 1
Microcode Sequencer (MS): 0
Port usage:
1*p5
Cascade Lake
Measurements
Latencies
Latency operand 1 → 1:
7
Latency operand 2 → 1:
7
Throughput
Computed from the port usage: 1.00
Measured (loop):
1.00
Measured (unrolled):
1.00
Number of μops
Executed: 1
Retire slots: 1
Decoded (MITE): 1
Microcode Sequencer (MS): 0
Port usage:
1*p5
Cannon Lake
Measurements
Latencies
Latency operand 1 → 1:
7
Latency operand 2 → 1:
7
Throughput
Computed from the port usage: 1.00
Measured (loop):
1.00
Measured (unrolled):
1.00
Number of μops
Executed: 1
Retire slots: 1
Decoded (MITE): 1
Microcode Sequencer (MS): 0
Port usage:
1*p5
Skylake-X
Measurements
Latencies
Latency operand 1 → 1:
7
Latency operand 2 → 1:
7
Throughput
Computed from the port usage: 1.00
Measured (loop):
1.00
Measured (unrolled):
1.00
Number of μops
Executed: 1
Retire slots: 1
Decoded (MITE): 1
Microcode Sequencer (MS): 0
Port usage:
1*p5
IACA 2.3
Throughput
Computed from the port usage: 1.00
IACA:
1.00
Number of μops:
1
Port usage:
1*p5
IACA 3.0
Throughput
Computed from the port usage: 1.00
IACA:
1.00
Number of μops:
1
Port usage:
1*p5
Coffee Lake
Measurements
Latencies
Latency operand 1 → 1:
7
Latency operand 2 → 1:
7
Throughput
Computed from the port usage: 1.00
Measured (loop):
1.00
Measured (unrolled):
1.00
Number of μops
Executed: 1
Retire slots: 1
Decoded (MITE): 1
Microcode Sequencer (MS): 0
Port usage:
1*p5
Kaby Lake
Measurements
Latencies
Latency operand 1 → 1:
7
Latency operand 2 → 1:
7
Throughput
Computed from the port usage: 1.00
Measured (loop):
1.00
Measured (unrolled):
1.00
Number of μops
Executed: 1
Retire slots: 1
Decoded (MITE): 1
Microcode Sequencer (MS): 0
Port usage:
1*p5
Skylake
Measurements
Latencies
Latency operand 1 → 1:
7
Latency operand 2 → 1:
7
Throughput
Computed from the port usage: 1.00
Measured (loop):
1.00
Measured (unrolled):
1.00
Number of μops
Executed: 1
Retire slots: 1
Decoded (MITE): 1
Microcode Sequencer (MS): 0
Port usage:
1*p5
IACA 2.3
Throughput
Computed from the port usage: 1.00
IACA:
1.00
Number of μops:
1
Port usage:
1*p5
IACA 3.0
Throughput
Computed from the port usage: 1.00
IACA:
1.00
Number of μops:
1
Port usage:
1*p5
Broadwell
Measurements
Latencies
Latency operand 1 → 1:
5
Latency operand 2 → 1:
5
Throughput
Computed from the port usage: 1.00
Measured (loop):
1.00
Measured (unrolled):
1.00
Number of μops
Executed: 1
Retire slots: 1
Decoded (MITE): 1
Microcode Sequencer (MS): 0
Port usage:
1*p0
IACA 2.2
Throughput
Computed from the port usage: 1.00
IACA:
1.00 (with the -no_interiteration flag: 1.00)
Number of μops:
1
Port usage:
1*p0
IACA 2.3
Throughput
Computed from the port usage: 1.00
IACA:
1.00
Number of μops:
1
Port usage:
1*p0
IACA 3.0
Throughput
Computed from the port usage: 1.00
IACA:
1.00
Number of μops:
1
Port usage:
1*p0
Haswell
Measurements
Latencies
Latency operand 1 → 1:
7
Latency operand 2 → 1:
7
Throughput
Computed from the port usage: 2.00
Measured (loop):
2.00
Measured (unrolled):
2.00
Number of μops
Executed: 3
Retire slots: 3
Decoded (MITE): 3
Microcode Sequencer (MS): 0
Requires the complex decoder (no other instruction can be decoded with simple decoders in the same cycle)
Port usage:
2*p0+1*p5
IACA 2.1
Latency:
7
Throughput
Computed from the port usage: 2.00
IACA:
2.00 (with the -no_interiteration flag: 2.00)
Number of μops:
3
Port usage:
2*p0+1*p5
IACA 2.2
Throughput
Computed from the port usage: 2.00
IACA:
2.00 (with the -no_interiteration flag: 2.00)
Number of μops:
3
Port usage:
2*p0+1*p5
IACA 2.3
Throughput
Computed from the port usage: 2.00
IACA:
2.00
Number of μops:
3
Port usage:
2*p0+1*p5
IACA 3.0
Throughput
Computed from the port usage: 2.00
IACA:
1.99
Number of μops:
3
Port usage:
2*p0+1*p5
Ivy Bridge
Measurements
Latencies
Latency operand 1 → 1:
13
Latency operand 2 → 1:
14
Throughput
Computed from the port usage: 6.00
Measured (loop):
8.00
Measured (unrolled):
8.00
Number of μops
Executed: 18
Retire slots: 18
Decoded (MITE): 2
Microcode Sequencer (MS): 16
Requires the complex decoder (no other instruction can be decoded with simple decoders in the same cycle)
Port usage:
2*p0+4*p015+3*p05+4*p1+2*p15+3*p5
Sandy Bridge
Measurements
Latencies
Latency operand 1 → 1:
13
Latency operand 2 → 1:
14
Throughput
Computed from the port usage: 6.00
Measured (loop):
8.00
Measured (unrolled):
8.00
Number of μops
Executed: 18
Retire slots: 18
Decoded (MITE): 2
Microcode Sequencer (MS): 16
Requires the complex decoder (no other instruction can be decoded with simple decoders in the same cycle)
Port usage:
2*p0+4*p015+3*p05+4*p1+2*p15+3*p5
Westmere
Measurements
Latencies
Latency operand 1 → 1:
13
Latency operand 2 → 1:
15
Throughput
Computed from the port usage: 5.33
Measured (loop):
8.00
Measured (unrolled):
8.00
Number of μops
Executed: 16
Retire slots: 16
Microcode Sequencer (MS): 53
Requires the complex decoder
Port usage:
6*p015+6*p05+4*p1
Tremont
Measurements
Latencies
Latency operand 1 → 1:
4
Latency operand 2 → 1:
4
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:
6
Latency operand 2 → 1:
6
Throughput
Measured (loop):
4.00
Measured (unrolled):
4.00
Number of μops
Executed: 3
Microcode Sequencer (MS): 3
Requires the complex decoder
Goldmont
Measurements
Latencies
Latency operand 1 → 1:
6
Latency operand 2 → 1:
6
Throughput
Measured (loop):
2.06
Measured (unrolled):
4.00
Number of μops
Executed: 3
Microcode Sequencer (MS): 3
Requires the complex decoder
Airmont
Measurements
Latencies
Latency operand 1 → 1:
11
Latency operand 2 → 1:
11
Throughput
Measured (loop):
10.00
Measured (unrolled):
10.00
Number of μops
Executed: 8
Microcode Sequencer (MS): 8
Requires the complex decoder
AMD Zen 4
Measurements
Latencies
Latency operand 1 → 1:
4
Latency operand 2 → 1:
4
Throughput
Computed from the port usage: 0.75
Measured (loop):
2.00
Measured (unrolled):
2.00
Number of μops
Executed: 4
Port usage:
1*FP01+1*FP123+1*FP23
AMD Zen 3
Measurements
Latencies
Latency operand 1 → 1:
4
Latency operand 2 → 1:
4
Throughput
Computed from the port usage: 1.00
Measured (loop):
2.00
Measured (unrolled):
2.00
Number of μops
Executed: 4
Port usage:
1*FP0123+1*FP1+1*FP12
Documentation
Latency: 5
Throughput: 2.00
Number of μops: ucode
AMD Zen 2
Measurements
Latencies
Latency operand 1 → 1:
4
Latency operand 2 → 1:
4
Throughput
Measured (loop):
2.00
Measured (unrolled):
2.00
Number of μops
Executed: 4
Documentation
Latency: 5
Throughput: 2.00
Number of μops: ucode
AMD Zen+
Measurements
Latencies
Latency operand 1 → 1:
4
Latency operand 2 → 1:
4
Throughput
Measured (loop):
2.00
Measured (unrolled):
2.00
Number of μops
Executed: 4
Documentation
Latency: 5
Throughput: 2.00
Number of μops: ucode