ADD (R64, I8)
Summary:
"Add"
Reference:
https://www.felixcloutier.com/x86/ADD.html
Extension:
BASE
Category:
BINARY
ISA-Set:
I86
CPL:
3
iform:
ADD_GPRv_IMMb
iclass:
ADD
ASM:
ADD
Operands
Operand 1 (r/w): Register (RAX, RCX, RDX, RBX, RSP, RBP, RSI, RDI, R8, R9, R10, R11, R12, R13, R14, R15)
Operand 2 (r): 8-bit immediate
Operand 3 (w, suppressed): Flags (AF: w, CF: w, OF: w, PF: w, SF: w, ZF: w)
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:
0
Latency operand 1 → 3:
1
Throughput
Measured (loop):
0.17
Measured (unrolled):
0.20
Number of μops
Executed: 0
Retire slots: 1
Decoded (MITE): 1
Microcode Sequencer (MS): 0
Macro-fusible with:
JB, JBE, JL, JLE, JNB, JNBE, JNL, JNLE, JNZ, JZ
Alder Lake-E
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
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.25
Measured (loop):
0.25
Measured (unrolled):
0.25
Number of μops
Executed: 1
Retire slots: 1
Decoded (MITE): 1
Microcode Sequencer (MS): 0
Port usage:
1*p0156
Macro-fusible with:
JB, JBE, JL, JLE, JNB, JNBE, JNL, JNLE, JNZ, JZ
Tiger Lake
Measurements
Latencies
Latency operand 1 → 1:
1
Latency operand 1 → 3:
1
Throughput
Computed from the port usage: 0.25
Measured (loop):
0.25
Measured (unrolled):
0.25
Number of μops
Executed: 1
Retire slots: 1
Decoded (MITE): 1
Microcode Sequencer (MS): 0
Port usage:
1*p0156
Macro-fusible with:
JB, JBE, JL, JLE, JNB, JNBE, JNL, JNLE, JNZ, JZ
Ice Lake
Measurements
Latencies
Latency operand 1 → 1:
1
Latency operand 1 → 3:
1
Throughput
Computed from the port usage: 0.25
Measured (loop):
0.25
Measured (unrolled):
0.25
Number of μops
Executed: 1
Retire slots: 1
Decoded (MITE): 1
Microcode Sequencer (MS): 0
Port usage:
1*p0156
Macro-fusible with:
JB, JBE, JL, JLE, JNB, JNBE, JNL, JNLE, JNZ, JZ
Cascade Lake
Measurements
Latencies
Latency operand 1 → 1:
1
Latency operand 1 → 3:
1
Throughput
Computed from the port usage: 0.25
Measured (loop):
0.25
Measured (unrolled):
0.25
Number of μops
Executed: 1
Retire slots: 1
Decoded (MITE): 1
Microcode Sequencer (MS): 0
Port usage:
1*p0156
Macro-fusible with:
JB, JBE, JL, JLE, JNB, JNBE, JNL, JNLE, JNZ, JZ
Cannon Lake
Measurements
Latencies
Latency operand 1 → 1:
1
Latency operand 1 → 3:
1
Throughput
Computed from the port usage: 0.25
Measured (loop):
0.25
Measured (unrolled):
0.25
Number of μops
Executed: 1
Retire slots: 1
Decoded (MITE): 1
Microcode Sequencer (MS): 0
Port usage:
1*p0156
Macro-fusible with:
JB, JBE, JL, JLE, JNB, JNBE, JNL, JNLE, JNZ, JZ
Skylake-X
Measurements
Latencies
Latency operand 1 → 1:
1
Latency operand 1 → 3:
1
Throughput
Computed from the port usage: 0.25
Measured (loop):
0.25
Measured (unrolled):
0.25
Number of μops
Executed: 1
Retire slots: 1
Decoded (MITE): 1
Microcode Sequencer (MS): 0
Port usage:
1*p0156
Macro-fusible with:
JB, JBE, JL, JLE, JNB, JNBE, JNL, JNLE, JNZ, JZ
IACA 2.3
Throughput
Computed from the port usage: 0.25
IACA:
0.25
Number of μops:
1
Port usage:
1*p0156
IACA 3.0
Throughput
Computed from the port usage: 0.25
IACA:
0.25
Number of μops:
1
Port usage:
1*p0156
Coffee Lake
Measurements
Latencies
Latency operand 1 → 1:
1
Latency operand 1 → 3:
1
Throughput
Computed from the port usage: 0.25
Measured (loop):
0.25
Measured (unrolled):
0.25
Number of μops
Executed: 1
Retire slots: 1
Decoded (MITE): 1
Microcode Sequencer (MS): 0
Port usage:
1*p0156
Macro-fusible with:
JB, JBE, JL, JLE, JNB, JNBE, JNL, JNLE, JNZ, JZ
Kaby Lake
Measurements
Latencies
Latency operand 1 → 1:
1
Latency operand 1 → 3:
1
Throughput
Computed from the port usage: 0.25
Measured (loop):
0.25
Measured (unrolled):
0.25
Number of μops
Executed: 1
Retire slots: 1
Decoded (MITE): 1
Microcode Sequencer (MS): 0
Port usage:
1*p0156
Macro-fusible with:
JB, JBE, JL, JLE, JNB, JNBE, JNL, JNLE, JNZ, JZ
Skylake
Measurements
Latencies
Latency operand 1 → 1:
1
Latency operand 1 → 3:
1
Throughput
Computed from the port usage: 0.25
Measured (loop):
0.25
Measured (unrolled):
0.25
Number of μops
Executed: 1
Retire slots: 1
Decoded (MITE): 1
Microcode Sequencer (MS): 0
Port usage:
1*p0156
Macro-fusible with:
JB, JBE, JL, JLE, JNB, JNBE, JNL, JNLE, JNZ, JZ
IACA 2.3
Throughput
Computed from the port usage: 0.25
IACA:
0.25
Number of μops:
1
Port usage:
1*p0156
IACA 3.0
Throughput
Computed from the port usage: 0.25
IACA:
0.25
Number of μops:
1
Port usage:
1*p0156
Broadwell
Measurements
Latencies
Latency operand 1 → 1:
1
Latency operand 1 → 3:
1
Throughput
Computed from the port usage: 0.25
Measured (loop):
0.25
Measured (unrolled):
0.33
Number of μops
Executed: 1
Retire slots: 1
Decoded (MITE): 1
Microcode Sequencer (MS): 0
Port usage:
1*p0156
Macro-fusible with:
JB, JBE, JL, JLE, JNB, JNBE, JNL, JNLE, JNZ, JZ
IACA 2.2
Throughput
Computed from the port usage: 0.25
IACA:
0.25 (with the -no_interiteration flag: 0.25)
Number of μops:
1
Port usage:
1*p0156
IACA 2.3
Throughput
Computed from the port usage: 0.25
IACA:
0.25
Number of μops:
1
Port usage:
1*p0156
IACA 3.0
Throughput
Computed from the port usage: 0.25
IACA:
0.25
Number of μops:
1
Port usage:
1*p0156
Haswell
Measurements
Latencies
Latency operand 1 → 1:
1
Latency operand 1 → 3:
1
Throughput
Computed from the port usage: 0.25
Measured (loop):
0.25
Measured (unrolled):
0.33
Number of μops
Executed: 1
Retire slots: 1
Decoded (MITE): 1
Microcode Sequencer (MS): 0
Port usage:
1*p0156
Macro-fusible with:
JB, JBE, JL, JLE, JNB, JNBE, JNL, JNLE, JNZ, JZ
IACA 2.1
Latency:
1
Throughput
Computed from the port usage: 0.25
IACA:
0.25 (with the -no_interiteration flag: 0.25)
Number of μops:
1
Port usage:
1*p0156
IACA 2.2
Throughput
Computed from the port usage: 0.25
IACA:
0.25 (with the -no_interiteration flag: 0.25)
Number of μops:
1
Port usage:
1*p0156
IACA 2.3
Throughput
Computed from the port usage: 0.25
IACA:
0.25
Number of μops:
1
Port usage:
1*p0156
IACA 3.0
Throughput
Computed from the port usage: 0.25
IACA:
0.25
Number of μops:
1
Port usage:
1*p0156
Ivy Bridge
Measurements
Latencies
Latency operand 1 → 1:
1
Latency operand 1 → 3:
1
Throughput
Computed from the port usage: 0.33
Measured (loop):
0.33
Measured (unrolled):
0.33
Number of μops
Executed: 1
Retire slots: 1
Decoded (MITE): 1
Microcode Sequencer (MS): 0
Port usage:
1*p015
Macro-fusible with:
JB, JBE, JL, JLE, JNB, JNBE, JNL, JNLE, JNZ, JZ
IACA 2.1
Latency:
1
Throughput
Computed from the port usage: 0.33
IACA:
0.34 (with the -no_interiteration flag: 0.35)
Number of μops:
1
Port usage:
1*p015
IACA 2.2
Throughput
Computed from the port usage: 0.33
IACA:
0.33 (with the -no_interiteration flag: 0.35)
Number of μops:
1
Port usage:
1*p015
IACA 2.3
Throughput
Computed from the port usage: 0.33
IACA:
0.33
Number of μops:
1
Port usage:
1*p015
Sandy Bridge
Measurements
Latencies
Latency operand 1 → 1:
1
Latency operand 1 → 3:
1
Throughput
Computed from the port usage: 0.33
Measured (loop):
0.33
Measured (unrolled):
0.33
Number of μops
Executed: 1
Retire slots: 1
Decoded (MITE): 1
Microcode Sequencer (MS): 0
Port usage:
1*p015
Macro-fusible with:
JB, JBE, JL, JLE, JNB, JNBE, JNL, JNLE, JNZ, JZ
IACA 2.1
Latency:
1
Throughput
Computed from the port usage: 0.33
IACA:
0.34 (with the -no_interiteration flag: 0.35)
Number of μops:
1
Port usage:
1*p015
IACA 2.2
Throughput
Computed from the port usage: 0.33
IACA:
0.33 (with the -no_interiteration flag: 0.35)
Number of μops:
1
Port usage:
1*p015
IACA 2.3
Throughput
Computed from the port usage: 0.33
IACA:
0.33
Number of μops:
1
Port usage:
1*p015
Westmere
Measurements
Latencies
Latency operand 1 → 1:
1
Latency operand 1 → 3:
1
Throughput
Computed from the port usage: 0.33
Measured (loop):
0.33
Measured (unrolled):
0.33
Number of μops
Executed: 1
Retire slots: 1
Microcode Sequencer (MS): 0
Port usage:
1*p015
IACA 2.1
Latency:
1
Throughput
Computed from the port usage: 0.33
IACA:
0.41 (with the -no_interiteration flag: 0.35)
Number of μops:
1
Port usage:
1*p015
IACA 2.2
Throughput
Computed from the port usage: 0.33
IACA:
0.41 (with the -no_interiteration flag: 0.35)
Number of μops:
1
Port usage:
1*p015
Nehalem
Measurements
Latencies
Latency operand 1 → 1:
1
Latency operand 1 → 3:
1
Throughput
Computed from the port usage: 0.33
Measured (loop):
0.33
Measured (unrolled):
0.33
Number of μops
Executed: 1
Retire slots: 1
Microcode Sequencer (MS): 0
Port usage:
1*p015
IACA 2.1
Latency:
1
Throughput
Computed from the port usage: 0.33
IACA:
0.41 (with the -no_interiteration flag: 0.35)
Number of μops:
1
Port usage:
1*p015
IACA 2.2
Throughput
Computed from the port usage: 0.33
IACA:
0.41 (with the -no_interiteration flag: 0.35)
Number of μops:
1
Port usage:
1*p015
Wolfdale
Measurements
Latencies
Latency operand 1 → 1:
1
Latency operand 1 → 3:
1
Throughput
Computed from the port usage: 0.33
Measured (loop):
0.33
Measured (unrolled):
0.33
Number of μops
Executed: 1
Port usage:
1*p015
Conroe
Measurements
Latencies
Latency operand 1 → 1:
1
Latency operand 1 → 3:
1
Throughput
Computed from the port usage: 0.33
Measured (loop):
0.33
Measured (unrolled):
0.33
Number of μops
Executed: 1
Port usage:
1*p015
Tremont
Measurements
Latencies
Latency operand 1 → 1:
1
Latency operand 1 → 3:
1
Throughput
Measured (loop):
0.33
Measured (unrolled):
0.33
Number of μops
Executed: 1
Microcode Sequencer (MS): 0
Goldmont Plus
Measurements
Latencies
Latency operand 1 → 1:
1
Latency operand 1 → 3:
1
Throughput
Measured (loop):
0.33
Measured (unrolled):
0.33
Number of μops
Executed: 1
Microcode Sequencer (MS): 0
Goldmont
Measurements
Latencies
Latency operand 1 → 1:
1
Latency operand 1 → 3:
1
Throughput
Measured (loop):
0.33
Measured (unrolled):
0.33
Number of μops
Executed: 1
Microcode Sequencer (MS): 0
Airmont
Measurements
Latencies
Latency operand 1 → 1:
1
Latency operand 1 → 3:
1
Throughput
Measured (loop):
0.52
Measured (unrolled):
0.50
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):
0.52
Measured (unrolled):
0.50
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.25
Measured (unrolled):
0.25
Number of μops
Executed: 1
AMD Zen 3
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
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
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