VPADDD (YMM, YMM, M256)
Summary:
"Add Packed Integers"
Reference:
https://www.felixcloutier.com/x86/paddb:paddw:paddd:paddq
Extension:
AVX2
Category:
AVX2
ISA-Set:
AVX2
CPL:
3
iform:
VPADDD_YMMqq_YMMqq_MEMqq
iclass:
VPADDD
ASM:
VPADDD
Operands
Operand 1 (w): Register (YMM0, YMM1, YMM2, YMM3, YMM4, YMM5, YMM6, YMM7, YMM8, YMM9, YMM10, YMM11, YMM12, YMM13, YMM14, YMM15)
Operand 2 (r): Register (YMM0, YMM1, YMM2, YMM3, YMM4, YMM5, YMM6, YMM7, YMM8, YMM9, YMM10, YMM11, YMM12, YMM13, YMM14, YMM15)
Operand 3 (r): Memory
Available performance data
Arrow Lake-P
Arrow Lake-E
Meteor Lake-P
Meteor Lake-E
Emerald Rapids
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
AMD Zen 5
AMD Zen 4
AMD Zen 3
AMD Zen 2
AMD Zen+
Arrow Lake-P
Measurements
Latencies
Latency operand 2 → 1:
1
Latency operand 3 → 1 (address, base register):
≤10
Latency operand 3 → 1 (address, index register):
≤10
Latency operand 3 → 1 (memory):
≤9
Throughput
Measured (loop):
0.35 (if an indexed addressing mode is used: 0.33)
Measured (unrolled):
0.46 (if an indexed addressing mode is used: 1.00)
Number of μops
Executed: 2
Retire slots: 1 (if an indexed addressing mode is used: 2)
Decoded (MITE): 1 (if an indexed addressing mode is used: 2)
Microcode Sequencer (MS): 0
Port usage:
1*LD+1*UNKNOWN
Arrow Lake-E
Measurements
Latencies
Latency operand 2 → 1:
1
Latency operand 3 → 1 (address, base register):
≤11
Latency operand 3 → 1 (address, index register):
≤11
Latency operand 3 → 1 (memory):
≤6
Throughput
Measured (loop):
0.67
Measured (unrolled):
0.67
Number of μops
Executed: 2
Microcode Sequencer (MS): 0
Meteor Lake-P
Measurements
Latencies
Latency operand 2 → 1:
1
Latency operand 3 → 1 (address, base register):
≤9
Latency operand 3 → 1 (address, index register):
≤9
Latency operand 3 → 1 (memory):
≤6
Throughput
Computed from the port usage: 0.33
Measured (loop):
0.50
Measured (unrolled):
0.53 (if an indexed addressing mode is used: 0.52)
Number of μops
Executed: 2
Retire slots: 1 (if an indexed addressing mode is used: 2)
Decoded (MITE): 1
Microcode Sequencer (MS): 0
Port usage:
1*p015+1*p23A (if an indexed addressing mode is used: 1*p23A)
Meteor Lake-E
Measurements
Latencies
Latency operand 2 → 1:
1
Latency operand 3 → 1 (address, base register):
≤11
Latency operand 3 → 1 (address, index register):
≤11
Latency operand 3 → 1 (memory):
≤7
Throughput
Measured (loop):
1.00
Measured (unrolled):
1.00
Number of μops
Executed: 2
Microcode Sequencer (MS): 0
Emerald Rapids
Measurements
Latencies
Latency operand 2 → 1:
1
Latency operand 3 → 1 (address, base register):
≤9
Latency operand 3 → 1 (address, index register):
≤9
Latency operand 3 → 1 (memory):
≤6
Throughput
Computed from the port usage: 0.33
Measured (loop):
0.40 (if an indexed addressing mode is used: 0.50)
Measured (unrolled):
0.37 (if an indexed addressing mode is used: 0.50)
Number of μops
Executed: 2
Retire slots: 1 (if an indexed addressing mode is used: 2)
Decoded (MITE): 1
Microcode Sequencer (MS): 0
Port usage:
1*p015+1*p23A (if an indexed addressing mode is used: 1*p23A)
Alder Lake-P
Measurements
Latencies
Latency operand 2 → 1:
1
Latency operand 3 → 1 (address, base register):
≤9
Latency operand 3 → 1 (address, index register):
≤9
Latency operand 3 → 1 (memory):
≤6
Throughput
Computed from the port usage: 0.33
Measured (loop):
0.40 (if an indexed addressing mode is used: 0.50)
Measured (unrolled):
0.40 (if an indexed addressing mode is used: 0.50)
Number of μops
Executed: 2
Retire slots: 1 (if an indexed addressing mode is used: 2)
Decoded (MITE): 1
Microcode Sequencer (MS): 0
Port usage:
1*p015+1*p23A (if an indexed addressing mode is used: 1*p23A)
Alder Lake-E
Measurements
Latencies
Latency operand 2 → 1:
1
Latency operand 3 → 1 (address, base register):
≤11
Latency operand 3 → 1 (address, index register):
≤11
Latency operand 3 → 1 (memory):
≤9
Throughput
Measured (loop):
1.00
Measured (unrolled):
1.00
Number of μops
Executed: 2
Microcode Sequencer (MS): 0
Rocket Lake
Measurements
Latencies
Latency operand 2 → 1:
1
Latency operand 3 → 1 (address, base register):
≤9
Latency operand 3 → 1 (address, index register):
≤9
Latency operand 3 → 1 (memory):
≤6
Throughput
Computed from the port usage: 0.50
Measured (loop):
0.50
Measured (unrolled):
0.50
Number of μops
Executed: 2
Retire slots: 1 (if an indexed addressing mode is used: 2)
Decoded (MITE): 1
Microcode Sequencer (MS): 0
Port usage:
1*p015+1*p23
Tiger Lake
Measurements
Latencies
Latency operand 2 → 1:
1
Latency operand 3 → 1 (address, base register):
≤9
Latency operand 3 → 1 (address, index register):
≤9
Latency operand 3 → 1 (memory):
≤6
Throughput
Computed from the port usage: 0.50
Measured (loop):
0.50
Measured (unrolled):
0.50
Number of μops
Executed: 2
Retire slots: 1 (if an indexed addressing mode is used: 2)
Decoded (MITE): 1
Microcode Sequencer (MS): 0
Port usage:
1*p015+1*p23
Ice Lake
Measurements
Latencies
Latency operand 2 → 1:
1
Latency operand 3 → 1 (address, base register):
≤9
Latency operand 3 → 1 (address, index register):
≤9
Latency operand 3 → 1 (memory):
≤6
Throughput
Computed from the port usage: 0.50
Measured (loop):
0.50
Measured (unrolled):
0.50
Number of μops
Executed: 2
Retire slots: 1 (if an indexed addressing mode is used: 2)
Decoded (MITE): 1
Microcode Sequencer (MS): 0
Port usage:
1*p015+1*p23
Documentation
Latency: 8.0
Throughput: 0.5
Cascade Lake
Measurements
Latencies
Latency operand 2 → 1:
1
Latency operand 3 → 1 (address, base register):
≤9
Latency operand 3 → 1 (address, index register):
≤9
Latency operand 3 → 1 (memory):
≤6
Throughput
Computed from the port usage: 0.50
Measured (loop):
0.50
Measured (unrolled):
0.50
Number of μops
Executed: 2
Retire slots: 1 (if an indexed addressing mode is used: 2)
Decoded (MITE): 1
Microcode Sequencer (MS): 0
Port usage:
1*p015+1*p23
Cannon Lake
Measurements
Latencies
Latency operand 2 → 1:
1
Latency operand 3 → 1 (address, base register):
≤9
Latency operand 3 → 1 (address, index register):
≤9
Latency operand 3 → 1 (memory):
≤6
Throughput
Computed from the port usage: 0.50
Measured (loop):
0.50
Measured (unrolled):
0.50
Number of μops
Executed: 2
Retire slots: 1 (if an indexed addressing mode is used: 2)
Decoded (MITE): 1
Microcode Sequencer (MS): 0
Port usage:
1*p015+1*p23
Skylake-X
Measurements
Latencies
Latency operand 2 → 1:
1
Latency operand 3 → 1 (address, base register):
≤9
Latency operand 3 → 1 (address, index register):
≤9
Latency operand 3 → 1 (memory):
≤6
Throughput
Computed from the port usage: 0.50
Measured (loop):
0.50
Measured (unrolled):
0.50
Number of μops
Executed: 2
Retire slots: 1 (if an indexed addressing mode is used: 2)
Decoded (MITE): 1
Microcode Sequencer (MS): 0
Port usage:
1*p015+1*p23
IACA 2.3
Throughput
Computed from the port usage: 0.50
IACA:
0.50
Number of μops:
2
Port usage:
1*p015+1*p23
IACA 3.0
Throughput
Computed from the port usage: 0.50
IACA:
0.50
Number of μops:
2
Port usage:
1*p015+1*p23
Coffee Lake
Measurements
Latencies
Latency operand 2 → 1:
1
Latency operand 3 → 1 (address, base register):
≤9
Latency operand 3 → 1 (address, index register):
≤9
Latency operand 3 → 1 (memory):
≤6
Throughput
Computed from the port usage: 0.50
Measured (loop):
0.50
Measured (unrolled):
0.50
Number of μops
Executed: 2
Retire slots: 1 (if an indexed addressing mode is used: 2)
Decoded (MITE): 1
Microcode Sequencer (MS): 0
Port usage:
1*p015+1*p23
Kaby Lake
Measurements
Latencies
Latency operand 2 → 1:
1
Latency operand 3 → 1 (address, base register):
≤9
Latency operand 3 → 1 (address, index register):
≤9
Latency operand 3 → 1 (memory):
≤6
Throughput
Computed from the port usage: 0.50
Measured (loop):
0.50
Measured (unrolled):
0.50
Number of μops
Executed: 2
Retire slots: 1 (if an indexed addressing mode is used: 2)
Decoded (MITE): 1
Microcode Sequencer (MS): 0
Port usage:
1*p015+1*p23
Skylake
Measurements
Latencies
Latency operand 2 → 1:
1
Latency operand 3 → 1 (address, base register):
≤9
Latency operand 3 → 1 (address, index register):
≤9
Latency operand 3 → 1 (memory):
≤6
Throughput
Computed from the port usage: 0.50
Measured (loop):
0.50
Measured (unrolled):
0.50
Number of μops
Executed: 2
Retire slots: 1 (if an indexed addressing mode is used: 2)
Decoded (MITE): 1
Microcode Sequencer (MS): 0
Port usage:
1*p015+1*p23
IACA 2.3
Throughput
Computed from the port usage: 0.50
IACA:
0.50
Number of μops:
2
Port usage:
1*p015+1*p23
IACA 3.0
Throughput
Computed from the port usage: 0.50
IACA:
0.50
Number of μops:
2
Port usage:
1*p015+1*p23
Broadwell
Measurements
Latencies
Latency operand 2 → 1:
1
Latency operand 3 → 1 (address, base register):
≤8
Latency operand 3 → 1 (address, index register):
≤8
Latency operand 3 → 1 (memory):
≤7
Throughput
Computed from the port usage: 0.50
Measured (loop):
0.50
Measured (unrolled):
0.50
Number of μops
Executed: 2
Retire slots: 1 (if an indexed addressing mode is used: 2)
Decoded (MITE): 1
Microcode Sequencer (MS): 0
Port usage:
1*p15+1*p23
IACA 2.2
Throughput
Computed from the port usage: 0.50
IACA:
0.50 (with the -no_interiteration flag: 0.50)
Number of μops:
2
Port usage:
1*p15+1*p23
IACA 2.3
Throughput
Computed from the port usage: 0.50
IACA:
0.50
Number of μops:
2
Port usage:
1*p15+1*p23
IACA 3.0
Throughput
Computed from the port usage: 0.50
IACA:
0.50
Number of μops:
2
Port usage:
1*p15+1*p23
Haswell
Measurements
Latencies
Latency operand 2 → 1:
1
Latency operand 3 → 1 (address, base register):
≤8
Latency operand 3 → 1 (address, index register):
≤8
Latency operand 3 → 1 (memory):
≤7
Throughput
Computed from the port usage: 0.50
Measured (loop):
0.50
Measured (unrolled):
0.50
Number of μops
Executed: 2
Retire slots: 1 (if an indexed addressing mode is used: 2)
Decoded (MITE): 1
Microcode Sequencer (MS): 0
Port usage:
1*p15+1*p23
IACA 2.1
Latency:
8
Throughput
Computed from the port usage: 0.50
IACA:
0.50 (with the -no_interiteration flag: 0.50)
Number of μops:
2
Port usage:
1*p15+1*p23
IACA 2.2
Throughput
Computed from the port usage: 0.50
IACA:
0.50 (with the -no_interiteration flag: 0.50)
Number of μops:
2
Port usage:
1*p15+1*p23
IACA 2.3
Throughput
Computed from the port usage: 0.50
IACA:
0.50
Number of μops:
2
Port usage:
1*p15+1*p23
IACA 3.0
Throughput
Computed from the port usage: 0.50
IACA:
0.50
Number of μops:
2
Port usage:
1*p15+1*p23
AMD Zen 5
Measurements
Latencies
Latency operand 2 → 1:
2
Latency operand 3 → 1 (address, base register):
≤10
Latency operand 3 → 1 (address, index register):
≤10
Latency operand 3 → 1 (memory):
≤9
Throughput
Computed from the port usage: 0.25
Measured (loop):
0.50
Measured (unrolled):
0.50
Number of μops
Executed: 1
Port usage:
1*FP0123
Documentation
Latency: 1
Throughput: 0.25
Number of μops: 1
Port usage: FP0/1/2/3
AMD Zen 4
Measurements
Latencies
Latency operand 2 → 1:
1
Latency operand 3 → 1 (address, base register):
≤9
Latency operand 3 → 1 (address, index register):
≤9
Latency operand 3 → 1 (memory):
≤10
Throughput
Computed from the port usage: 0.25
Measured (loop):
0.50
Measured (unrolled):
0.50
Number of μops
Executed: 1
Port usage:
1*FP0123
AMD Zen 3
Measurements
Latencies
Latency operand 2 → 1:
1
Latency operand 3 → 1 (address, base register):
≤9
Latency operand 3 → 1 (address, index register):
≤9
Latency operand 3 → 1 (memory):
≤10
Throughput
Computed from the port usage: 0.25
Measured (loop):
0.50
Measured (unrolled):
0.50
Number of μops
Executed: 1
Port usage:
1*FP0123
AMD Zen 2
Measurements
Latencies
Latency operand 2 → 1:
1
Latency operand 3 → 1 (address, base register):
≤9
Latency operand 3 → 1 (address, index register):
≤9
Latency operand 3 → 1 (memory):
≤9
Throughput
Computed from the port usage: 0.33
Measured (loop):
0.50
Measured (unrolled):
0.50
Number of μops
Executed: 1
Port usage:
1*FP013
AMD Zen+
Measurements
Latencies
Latency operand 2 → 1:
1
Latency operand 3 → 1 (address, base register):
≤9
Latency operand 3 → 1 (address, index register):
≤9
Latency operand 3 → 1 (memory):
≤9
Throughput
Measured (loop):
1.00
Measured (unrolled):
1.00
Number of μops
Executed: 2