IMUL (R64, R64)
Summary:
"Signed Multiply"
Reference:
https://www.felixcloutier.com/x86/IMUL.html
Extension:
BASE
Category:
BINARY
ISA-Set:
I86
CPL:
3
iform:
IMUL_GPRv_GPRv
iclass:
IMUL
ASM:
IMUL
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): Register (RAX, RCX, RDX, RBX, RSP, RBP, RSI, RDI, R8, R9, R10, R11, R12, R13, R14, R15)
Operand 3 (w, suppressed): Flags (AF: undef, CF: w, OF: w, PF: undef, SF: undef, ZF: 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:
3
Latency operand 1 → 3:
3
Latency operand 2 → 1:
3
Latency operand 2 → 3:
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*p1
Alder Lake-E
Measurements
Latencies
Latency operand 1 → 1:
5
Latency operand 1 → 3:
5
Latency operand 2 → 1:
5
Latency operand 2 → 3:
5
Throughput
Measured (loop):
0.53
Measured (unrolled):
0.52
Number of μops
Executed: 1
Microcode Sequencer (MS): 0
Rocket Lake
Measurements
Latencies
Latency operand 1 → 1:
3
Latency operand 1 → 3:
3
Latency operand 2 → 1:
3
Latency operand 2 → 3:
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*p1
Tiger Lake
Measurements
Latencies
Latency operand 1 → 1:
3
Latency operand 1 → 3:
3
Latency operand 2 → 1:
3
Latency operand 2 → 3:
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*p1
Ice Lake
Measurements
Latencies
Latency operand 1 → 1:
3
Latency operand 1 → 3:
3
Latency operand 2 → 1:
3
Latency operand 2 → 3:
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*p1
Documentation
Latency: 3.0
Throughput: 1.0
Cascade Lake
Measurements
Latencies
Latency operand 1 → 1:
3
Latency operand 1 → 3:
3
Latency operand 2 → 1:
3
Latency operand 2 → 3:
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*p1
Cannon Lake
Measurements
Latencies
Latency operand 1 → 1:
3
Latency operand 1 → 3:
3
Latency operand 2 → 1:
3
Latency operand 2 → 3:
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*p1
Skylake-X
Measurements
Latencies
Latency operand 1 → 1:
3
Latency operand 1 → 3:
3
Latency operand 2 → 1:
3
Latency operand 2 → 3:
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*p1
IACA 2.3
Throughput
Computed from the port usage: 1.00
IACA:
1.00
Number of μops:
1
Port usage:
1*p1
IACA 3.0
Throughput
Computed from the port usage: 1.00
IACA:
1.00
Number of μops:
1
Port usage:
1*p1
Coffee Lake
Measurements
Latencies
Latency operand 1 → 1:
3
Latency operand 1 → 3:
3
Latency operand 2 → 1:
3
Latency operand 2 → 3:
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*p1
Kaby Lake
Measurements
Latencies
Latency operand 1 → 1:
3
Latency operand 1 → 3:
3
Latency operand 2 → 1:
3
Latency operand 2 → 3:
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*p1
Skylake
Measurements
Latencies
Latency operand 1 → 1:
3
Latency operand 1 → 3:
3
Latency operand 2 → 1:
3
Latency operand 2 → 3:
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*p1
IACA 2.3
Throughput
Computed from the port usage: 1.00
IACA:
1.00
Number of μops:
1
Port usage:
1*p1
IACA 3.0
Throughput
Computed from the port usage: 1.00
IACA:
1.00
Number of μops:
1
Port usage:
1*p1
Broadwell
Measurements
Latencies
Latency operand 1 → 1:
3
Latency operand 1 → 3:
3
Latency operand 2 → 1:
3
Latency operand 2 → 3:
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*p1
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*p1
IACA 2.3
Throughput
Computed from the port usage: 1.00
IACA:
1.00
Number of μops:
1
Port usage:
1*p1
IACA 3.0
Throughput
Computed from the port usage: 1.00
IACA:
1.00
Number of μops:
1
Port usage:
1*p1
Haswell
Measurements
Latencies
Latency operand 1 → 1:
3
Latency operand 1 → 3:
3
Latency operand 2 → 1:
3
Latency operand 2 → 3:
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*p1
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*p1
IACA 2.3
Throughput
Computed from the port usage: 1.00
IACA:
1.00
Number of μops:
1
Port usage:
1*p1
IACA 3.0
Throughput
Computed from the port usage: 1.00
IACA:
1.00
Number of μops:
1
Port usage:
1*p1
Ivy Bridge
Measurements
Latencies
Latency operand 1 → 1:
3
Latency operand 1 → 3:
3
Latency operand 2 → 1:
3
Latency operand 2 → 3:
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*p1
Sandy Bridge
Measurements
Latencies
Latency operand 1 → 1:
3
Latency operand 1 → 3:
3
Latency operand 2 → 1:
3
Latency operand 2 → 3:
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*p1
Westmere
Measurements
Latencies
Latency operand 1 → 1:
3
Latency operand 1 → 3:
3
Latency operand 2 → 1:
3
Latency operand 2 → 3:
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
Microcode Sequencer (MS): 0
Port usage:
1*p1
IACA 2.1
Latency:
3
Throughput
Computed from the port usage: 1.00
IACA:
1.50 (with the -no_interiteration flag: 1.00)
Number of μops:
1
Port usage:
1*p1
IACA 2.2
Throughput
Computed from the port usage: 1.00
IACA:
1.50 (with the -no_interiteration flag: 1.00)
Number of μops:
1
Port usage:
1*p1
Nehalem
Measurements
Latencies
Latency operand 1 → 1:
3
Latency operand 1 → 3:
3
Latency operand 2 → 1:
3
Latency operand 2 → 3:
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
Microcode Sequencer (MS): 0
Port usage:
1*p1
IACA 2.1
Latency:
3
Throughput
Computed from the port usage: 1.00
IACA:
1.50 (with the -no_interiteration flag: 1.00)
Number of μops:
1
Port usage:
1*p1
IACA 2.2
Throughput
Computed from the port usage: 1.00
IACA:
1.50 (with the -no_interiteration flag: 1.00)
Number of μops:
1
Port usage:
1*p1
Wolfdale
Measurements
Latencies
Latency operand 1 → 1:
5
Latency operand 1 → 3:
7
Latency operand 2 → 1:
7
Latency operand 2 → 3:
7
Throughput
Computed from the port usage: 1.00
Measured (loop):
2.00
Measured (unrolled):
2.00
Number of μops
Executed: 1
Port usage:
1*p0
Conroe
Measurements
Latencies
Latency operand 1 → 1:
5
Latency operand 1 → 3:
7
Latency operand 2 → 1:
7
Latency operand 2 → 3:
7
Throughput
Computed from the port usage: 1.00
Measured (loop):
2.00
Measured (unrolled):
2.00
Number of μops
Executed: 1
Port usage:
1*p0
Tremont
Measurements
Latencies
Latency operand 1 → 1:
5
Latency operand 1 → 3:
5
Latency operand 2 → 1:
5
Latency operand 2 → 3:
5
Throughput
Measured (loop):
2.00
Measured (unrolled):
2.00
Number of μops
Executed: 1
Microcode Sequencer (MS): 0
Goldmont Plus
Measurements
Latencies
Latency operand 1 → 1:
5
Latency operand 1 → 3:
5
Latency operand 2 → 1:
5
Latency operand 2 → 3:
5
Throughput
Measured (loop):
2.00
Measured (unrolled):
2.00
Number of μops
Executed: 1
Microcode Sequencer (MS): 0
Goldmont
Measurements
Latencies
Latency operand 1 → 1:
5
Latency operand 1 → 3:
5
Latency operand 2 → 1:
5
Latency operand 2 → 3:
5
Throughput
Measured (loop):
2.00
Measured (unrolled):
2.00
Number of μops
Executed: 1
Microcode Sequencer (MS): 0
Airmont
Measurements
Latencies
Latency operand 1 → 1:
5
Latency operand 1 → 3:
5
Latency operand 2 → 1:
5
Latency operand 2 → 3:
5
Throughput
Measured (loop):
2.00
Measured (unrolled):
2.00
Number of μops
Executed: 1
Microcode Sequencer (MS): 0
Bonnell
Measurements
Latencies
Latency operand 1 → 1:
13
Latency operand 1 → 3:
13
Latency operand 2 → 1:
14
Latency operand 2 → 3:
14
Throughput
Measured (loop):
11.04
Measured (unrolled):
11.02
Number of μops
Executed: 6
Microcode Sequencer (MS): 6
Requires the complex decoder
AMD Zen 4
Measurements
Latencies
Latency operand 1 → 1:
3
Latency operand 1 → 3:
3
Latency operand 2 → 1:
3
Latency operand 2 → 3:
3
Throughput
Measured (loop):
1.00
Measured (unrolled):
1.00
Number of μops
Executed: 1
AMD Zen 3
Measurements
Latencies
Latency operand 1 → 1:
3
Latency operand 1 → 3:
3
Latency operand 2 → 1:
3
Latency operand 2 → 3:
3
Throughput
Measured (loop):
1.00
Measured (unrolled):
1.00
Number of μops
Executed: 1
Documentation
Latency: 3,4
Throughput: 1.00
Number of μops: 1-2
Port usage: ALU1
AMD Zen 2
Measurements
Latencies
Latency operand 1 → 1:
3
Latency operand 1 → 3:
3
Latency operand 2 → 1:
3
Latency operand 2 → 3:
3
Throughput
Measured (loop):
1.00
Measured (unrolled):
1.00
Number of μops
Executed: 1
Documentation
Latency: 3,4
Throughput: 1.00
Number of μops: 1-2
Port usage: ALU1
AMD Zen+
Measurements
Latencies
Latency operand 1 → 1:
3
Latency operand 1 → 3:
3
Latency operand 2 → 1:
3
Latency operand 2 → 3:
3
Throughput
Measured (loop):
1.00
Measured (unrolled):
1.00
Number of μops
Executed: 1
Documentation
Latency: 3,4
Throughput: 1.00
Number of μops: 1-2
Port usage: MUL