DIV (R32)
Summary:
"Unsigned Divide"
Reference:
https://www.felixcloutier.com/x86/DIV.html
Extension:
BASE
Category:
BINARY
ISA-Set:
I86
CPL:
3
iform:
DIV_GPRv
iclass:
DIV
ASM:
DIV
Operands
Operand 1 (r): Register (EAX, ECX, EDX, EBX, ESP, EBP, ESI, EDI, R8D, R9D, R10D, R11D, R12D, R13D, R14D, R15D)
Operand 2 (r/w, suppressed): Register (EAX)
Operand 3 (r/w, suppressed): Register (EDX)
Operand 4 (w, suppressed): Flags (AF: undef, CF: undef, OF: undef, 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 → 2:
10
Latency operand 1 → 3:
14
Latency operand 2 → 2:
11
Latency operand 2 → 3:
15
Latency operand 3 → 2:
15
Latency operand 3 → 3:
15
Throughput
Computed from the port usage: 3.00
Measured (loop):
6.00
Measured (unrolled):
6.00
Number of μops
Executed: 2
Retire slots: 4
Decoded (MITE): 4
Microcode Sequencer (MS): 0
Port usage:
3*p1
Alder Lake-E
Measurements
Latencies
Latency operand 1 → 2:
12 ≤ lat ≤ 27
Latency operand 1 → 3:
13 ≤ lat ≤ 28
Latency operand 2 → 2:
11 ≤ lat ≤ 26
Latency operand 2 → 3:
12 ≤ lat ≤ 27
Latency operand 3 → 2:
11 ≤ lat ≤ 26
Latency operand 3 → 3:
11 ≤ lat ≤ 26
Throughput
Measured (loop):
6.00
Measured (unrolled):
6.00
Number of μops
Executed: 4
Microcode Sequencer (MS): 3
Rocket Lake
Measurements
Latencies
Latency operand 1 → 2:
10
Latency operand 1 → 3:
14
Latency operand 2 → 2:
12
Latency operand 2 → 3:
15
Latency operand 3 → 2:
15
Latency operand 3 → 3:
15
Throughput
Computed from the port usage: 2.00
Measured (loop):
6.00
Measured (unrolled):
6.00
Number of μops
Executed: 4
Retire slots: 4
Decoded (MITE): 4
Microcode Sequencer (MS): 0
Port usage:
1*p0156+2*p1+1*p15
Tiger Lake
Measurements
Latencies
Latency operand 1 → 2:
10
Latency operand 1 → 3:
14
Latency operand 2 → 2:
11
Latency operand 2 → 3:
15
Latency operand 3 → 2:
15
Latency operand 3 → 3:
15
Throughput
Computed from the port usage: 2.00
Measured (loop):
6.00
Measured (unrolled):
6.00
Number of μops
Executed: 4
Retire slots: 4
Decoded (MITE): 4
Microcode Sequencer (MS): 0
Port usage:
1*p0156+2*p1+1*p15
Ice Lake
Measurements
Latencies
Latency operand 1 → 2:
10
Latency operand 1 → 3:
14
Latency operand 2 → 2:
11
Latency operand 2 → 3:
15
Latency operand 3 → 2:
15
Latency operand 3 → 3:
15
Throughput
Computed from the port usage: 2.00
Measured (loop):
6.00
Measured (unrolled):
6.00
Number of μops
Executed: 4
Retire slots: 4
Decoded (MITE): 4
Microcode Sequencer (MS): 0
Port usage:
1*p0156+2*p1+1*p15
Cascade Lake
Measurements
Latencies
Latency operand 1 → 2:
25 ≤ lat ≤ 27
Latency operand 1 → 3:
26 ≤ lat ≤ 28
Latency operand 2 → 2:
23 ≤ lat ≤ 25
Latency operand 2 → 3:
24 ≤ lat ≤ 26
Latency operand 3 → 2:
24 ≤ lat ≤ 26
Latency operand 3 → 3:
24 ≤ lat ≤ 26
Throughput
Computed from the port usage: 4.00
Measured (loop):
6.00
Measured (unrolled):
6.00
Number of μops
Executed: 10
Retire slots: 10
Decoded (MITE): 3
Microcode Sequencer (MS): 7
Port usage:
2*p0+2*p0156+1*p06+1*p15+4*p5
Cannon Lake
Measurements
Latencies
Latency operand 1 → 2:
10
Latency operand 1 → 3:
14
Latency operand 2 → 2:
11
Latency operand 2 → 3:
15
Latency operand 3 → 2:
15
Latency operand 3 → 3:
15
Throughput
Computed from the port usage: 2.00
Measured (loop):
6.00
Measured (unrolled):
6.00
Number of μops
Executed: 4
Retire slots: 4
Decoded (MITE): 4
Microcode Sequencer (MS): 0
Port usage:
1*p0156+2*p1+1*p15
Skylake-X
Measurements
Latencies
Latency operand 1 → 2:
25 ≤ lat ≤ 27
Latency operand 1 → 3:
26 ≤ lat ≤ 28
Latency operand 2 → 2:
23 ≤ lat ≤ 25
Latency operand 2 → 3:
24 ≤ lat ≤ 26
Latency operand 3 → 2:
24 ≤ lat ≤ 26
Latency operand 3 → 3:
24 ≤ lat ≤ 26
Throughput
Computed from the port usage: 4.00
Measured (loop):
6.00
Measured (unrolled):
6.00
Number of μops
Executed: 10
Retire slots: 10
Decoded (MITE): 3
Microcode Sequencer (MS): 7
Port usage:
2*p0+2*p0156+1*p06+1*p15+4*p5
IACA 2.3
Throughput
Computed from the port usage: 8.00
IACA:
73.10
Number of μops:
32
Port usage:
7*p0+11*p0156+1*p05+3*p06+2*p1+8*p5
IACA 3.0
Throughput
Computed from the port usage: 8.00
IACA:
72.00
Number of μops:
32
Port usage:
7*p0+11*p0156+1*p05+3*p06+2*p1+8*p5
Coffee Lake
Measurements
Latencies
Latency operand 1 → 2:
25 ≤ lat ≤ 27
Latency operand 1 → 3:
26 ≤ lat ≤ 28
Latency operand 2 → 2:
23 ≤ lat ≤ 25
Latency operand 2 → 3:
24 ≤ lat ≤ 26
Latency operand 3 → 2:
24 ≤ lat ≤ 26
Latency operand 3 → 3:
24 ≤ lat ≤ 26
Throughput
Computed from the port usage: 4.00
Measured (loop):
6.00
Measured (unrolled):
6.00
Number of μops
Executed: 10
Retire slots: 10
Decoded (MITE): 3
Microcode Sequencer (MS): 7
Port usage:
2*p0+2*p0156+1*p06+1*p15+4*p5
Kaby Lake
Measurements
Latencies
Latency operand 1 → 2:
25 ≤ lat ≤ 27
Latency operand 1 → 3:
26 ≤ lat ≤ 28
Latency operand 2 → 2:
23 ≤ lat ≤ 25
Latency operand 2 → 3:
24 ≤ lat ≤ 26
Latency operand 3 → 2:
24 ≤ lat ≤ 26
Latency operand 3 → 3:
24 ≤ lat ≤ 26
Throughput
Computed from the port usage: 4.00
Measured (loop):
6.00
Measured (unrolled):
6.00
Number of μops
Executed: 10
Retire slots: 10
Decoded (MITE): 3
Microcode Sequencer (MS): 7
Port usage:
2*p0+2*p0156+1*p06+1*p15+4*p5
Skylake
Measurements
Latencies
Latency operand 1 → 2:
25 ≤ lat ≤ 27
Latency operand 1 → 3:
26 ≤ lat ≤ 28
Latency operand 2 → 2:
23 ≤ lat ≤ 25
Latency operand 2 → 3:
24 ≤ lat ≤ 26
Latency operand 3 → 2:
24 ≤ lat ≤ 26
Latency operand 3 → 3:
24 ≤ lat ≤ 26
Throughput
Computed from the port usage: 4.00
Measured (loop):
6.00
Measured (unrolled):
6.00
Number of μops
Executed: 10
Retire slots: 10
Decoded (MITE): 3
Microcode Sequencer (MS): 7
Port usage:
2*p0+2*p0156+1*p06+1*p15+4*p5
IACA 2.3
Throughput
Computed from the port usage: 8.00
IACA:
73.10
Number of μops:
32
Port usage:
7*p0+11*p0156+1*p05+3*p06+2*p1+8*p5
IACA 3.0
Throughput
Computed from the port usage: 8.00
IACA:
72.00
Number of μops:
32
Port usage:
7*p0+11*p0156+1*p05+3*p06+2*p1+8*p5
Broadwell
Measurements
Latencies
Latency operand 1 → 2:
20 ≤ lat ≤ 27
Latency operand 1 → 3:
20 ≤ lat ≤ 27
Latency operand 2 → 2:
21 ≤ lat ≤ 28
Latency operand 2 → 3:
21 ≤ lat ≤ 28
Latency operand 3 → 2:
21 ≤ lat ≤ 28
Latency operand 3 → 3:
21 ≤ lat ≤ 28
Throughput
Computed from the port usage: 2.50
Measured (loop):
9.00
Measured (unrolled):
9.00
Number of μops
Executed: 10
Retire slots: 10
Decoded (MITE): 3
Microcode Sequencer (MS): 7
Port usage:
2*p0+1*p0156+2*p06+2*p1+1*p15+2*p5
IACA 2.2
Throughput
Computed from the port usage: 8.00
IACA:
80.00 (with the -no_interiteration flag: 69.76)
Number of μops:
32
Port usage:
7*p0+1*p01+9*p0156+5*p06+7*p1+3*p5
IACA 2.3
Throughput
Computed from the port usage: 8.00
IACA:
76.90
Number of μops:
32
Port usage:
7*p0+1*p01+9*p0156+5*p06+7*p1+3*p5
IACA 3.0
Throughput
Computed from the port usage: 8.00
IACA:
75.79
Number of μops:
32
Port usage:
7*p0+1*p01+11*p0156+3*p06+7*p1+3*p5
Haswell
Measurements
Latencies
Latency operand 1 → 2:
20 ≤ lat ≤ 27
Latency operand 1 → 3:
20 ≤ lat ≤ 27
Latency operand 2 → 2:
22 ≤ lat ≤ 28
Latency operand 2 → 3:
21 ≤ lat ≤ 28
Latency operand 3 → 2:
21 ≤ lat ≤ 28
Latency operand 3 → 3:
21 ≤ lat ≤ 28
Throughput
Computed from the port usage: 2.50
Measured (loop):
9.00
Measured (unrolled):
9.00
Number of μops
Executed: 10
Retire slots: 10
Decoded (MITE): 3
Microcode Sequencer (MS): 7
Port usage:
2*p0+1*p0156+2*p06+2*p1+1*p15+2*p5
IACA 2.2
Throughput
Computed from the port usage: 8.00
IACA:
98.00 (with the -no_interiteration flag: 85.19)
Number of μops:
32
Port usage:
7*p0+1*p01+10*p0156+4*p06+7*p1+3*p5
IACA 2.3
Throughput
Computed from the port usage: 8.00
IACA:
94.05
Number of μops:
32
Port usage:
7*p0+1*p01+10*p0156+4*p06+7*p1+3*p5
IACA 3.0
Throughput
Computed from the port usage: 8.00
IACA:
92.84
Number of μops:
32
Port usage:
7*p0+1*p01+11*p0156+3*p06+7*p1+3*p5
Ivy Bridge
Measurements
Latencies
Latency operand 1 → 2:
18 ≤ lat ≤ 25
Latency operand 1 → 3:
18 ≤ lat ≤ 25
Latency operand 2 → 2:
19 ≤ lat ≤ 26
Latency operand 2 → 3:
20 ≤ lat ≤ 26
Latency operand 3 → 2:
20 ≤ lat ≤ 26
Latency operand 3 → 3:
19 ≤ lat ≤ 26
Throughput
Computed from the port usage: 3.50
Measured (loop):
9.00
Measured (unrolled):
9.00
Number of μops
Executed: 10
Retire slots: 10
Decoded (MITE): 3
Microcode Sequencer (MS): 7
Port usage:
2*p0+1*p015+2*p05+2*p1+3*p5
Sandy Bridge
Measurements
Latencies
Latency operand 1 → 2:
18 ≤ lat ≤ 25
Latency operand 1 → 3:
18 ≤ lat ≤ 25
Latency operand 2 → 2:
19 ≤ lat ≤ 26
Latency operand 2 → 3:
19 ≤ lat ≤ 26
Latency operand 3 → 2:
19 ≤ lat ≤ 26
Latency operand 3 → 3:
19 ≤ lat ≤ 26
Throughput
Computed from the port usage: 3.50
Measured (loop):
11.00
Measured (unrolled):
11.03
Number of μops
Executed: 10
Retire slots: 10
Decoded (MITE): 3
Microcode Sequencer (MS): 7
Port usage:
2*p0+1*p015+2*p05+2*p1+3*p5
Westmere
Measurements
Latencies
Latency operand 1 → 2:
17 ≤ lat ≤ 26
Latency operand 1 → 3:
17 ≤ lat ≤ 26
Latency operand 2 → 2:
17 ≤ lat ≤ 27
Latency operand 2 → 3:
17 ≤ lat ≤ 27
Latency operand 3 → 2:
17 ≤ lat ≤ 27
Latency operand 3 → 3:
17 ≤ lat ≤ 27
Throughput
Computed from the port usage: 2.00
Measured (loop):
7.00
Measured (unrolled):
7.02
Number of μops
Executed: 6
Retire slots: 6
Microcode Sequencer (MS): 3
Port usage:
1*p0+1*p015+2*p05+2*p1
Nehalem
Measurements
Latencies
Latency operand 1 → 2:
17 ≤ lat ≤ 26
Latency operand 1 → 3:
17 ≤ lat ≤ 26
Latency operand 2 → 2:
17 ≤ lat ≤ 27
Latency operand 2 → 3:
17 ≤ lat ≤ 27
Latency operand 3 → 2:
17 ≤ lat ≤ 27
Latency operand 3 → 3:
17 ≤ lat ≤ 27
Throughput
Computed from the port usage: 2.00
Measured (loop):
7.00
Measured (unrolled):
7.02
Number of μops
Executed: 6
Retire slots: 6
Microcode Sequencer (MS): 3
Port usage:
1*p0+1*p015+2*p05+2*p1
Wolfdale
Measurements
Latencies
Latency operand 1 → 2:
13 ≤ lat ≤ 22
Latency operand 1 → 3:
12 ≤ lat ≤ 22
Latency operand 2 → 2:
13 ≤ lat ≤ 23
Latency operand 2 → 3:
14 ≤ lat ≤ 24
Latency operand 3 → 2:
14 ≤ lat ≤ 24
Latency operand 3 → 3:
14 ≤ lat ≤ 24
Throughput
Computed from the port usage: 2.33
Measured (loop):
5.00
Measured (unrolled):
5.00
Number of μops
Executed: 7
Port usage:
1*p0+2*p015+2*p05+2*p1
Conroe
Measurements
Latencies
Latency operand 1 → 2:
17 ≤ lat ≤ 41
Latency operand 1 → 3:
17 ≤ lat ≤ 41
Latency operand 2 → 2:
17 ≤ lat ≤ 41
Latency operand 2 → 3:
18 ≤ lat ≤ 42
Latency operand 3 → 2:
18 ≤ lat ≤ 42
Latency operand 3 → 3:
17 ≤ lat ≤ 41
Throughput
Computed from the port usage: 1.50
Measured (loop):
12.04
Measured (unrolled):
12.25
Number of μops
Executed: 4
Port usage:
1*p0+1*p015+2*p05
Tremont
Measurements
Latencies
Latency operand 1 → 2:
11 ≤ lat ≤ 26
Latency operand 1 → 3:
12 ≤ lat ≤ 27
Latency operand 2 → 2:
11 ≤ lat ≤ 26
Latency operand 2 → 3:
12 ≤ lat ≤ 27
Latency operand 3 → 2:
11 ≤ lat ≤ 26
Latency operand 3 → 3:
11 ≤ lat ≤ 26
Throughput
Measured (loop):
11.00
Measured (unrolled):
11.00
Number of μops
Executed: 5
Microcode Sequencer (MS): 4
Goldmont Plus
Measurements
Latencies
Latency operand 1 → 2:
13 ≤ lat ≤ 26
Latency operand 1 → 3:
14 ≤ lat ≤ 27
Latency operand 2 → 2:
13 ≤ lat ≤ 26
Latency operand 2 → 3:
14 ≤ lat ≤ 27
Latency operand 3 → 2:
13 ≤ lat ≤ 26
Latency operand 3 → 3:
13 ≤ lat ≤ 26
Throughput
Measured (loop):
13.00
Measured (unrolled):
13.00
Number of μops
Executed: 4
Microcode Sequencer (MS): 4
Goldmont
Measurements
Latencies
Latency operand 1 → 2:
13 ≤ lat ≤ 26
Latency operand 1 → 3:
14 ≤ lat ≤ 27
Latency operand 2 → 2:
13 ≤ lat ≤ 26
Latency operand 2 → 3:
14 ≤ lat ≤ 27
Latency operand 3 → 2:
13 ≤ lat ≤ 26
Latency operand 3 → 3:
13 ≤ lat ≤ 26
Throughput
Measured (loop):
13.00
Measured (unrolled):
13.00
Number of μops
Executed: 4
Microcode Sequencer (MS): 4
Airmont
Measurements
Latencies
Latency operand 1 → 2:
24 ≤ lat ≤ 36
Latency operand 1 → 3:
26 ≤ lat ≤ 38
Latency operand 2 → 2:
25 ≤ lat ≤ 37
Latency operand 2 → 3:
26 ≤ lat ≤ 38
Latency operand 3 → 2:
26 ≤ lat ≤ 38
Latency operand 3 → 3:
26 ≤ lat ≤ 38
Throughput
Measured (loop):
19.00
Measured (unrolled):
19.00
Number of μops
Executed: 12
Microcode Sequencer (MS): 12
Bonnell
Measurements
Latencies
Latency operand 1 → 2:
50
Latency operand 1 → 3:
50
Latency operand 2 → 2:
49
Latency operand 2 → 3:
49
Latency operand 3 → 2:
49
Latency operand 3 → 3:
49
Throughput
Measured (loop):
50.03
Measured (unrolled):
50.00
Number of μops
Executed: 12
Microcode Sequencer (MS): 12
AMD Zen 4
Measurements
Latencies
Latency operand 1 → 2:
9 ≤ lat ≤ 12
Latency operand 1 → 3:
10 ≤ lat ≤ 13
Latency operand 2 → 2:
9 ≤ lat ≤ 12
Latency operand 2 → 3:
10 ≤ lat ≤ 13
Latency operand 3 → 2:
11 ≤ lat ≤ 14
Latency operand 3 → 3:
11 ≤ lat ≤ 14
Throughput
Measured (loop):
6.00
Measured (unrolled):
6.00
Number of μops
Executed: 2
AMD Zen 3
Measurements
Latencies
Latency operand 1 → 2:
9 ≤ lat ≤ 12
Latency operand 1 → 3:
10 ≤ lat ≤ 13
Latency operand 2 → 2:
9 ≤ lat ≤ 12
Latency operand 2 → 3:
10 ≤ lat ≤ 13
Latency operand 3 → 2:
11 ≤ lat ≤ 14
Latency operand 3 → 3:
11 ≤ lat ≤ 14
Throughput
Measured (loop):
6.00
Measured (unrolled):
6.00
Number of μops
Executed: 2
AMD Zen 2
Measurements
Latencies
Latency operand 1 → 2:
8 ≤ lat ≤ 23
Latency operand 1 → 3:
10 ≤ lat ≤ 25
Latency operand 2 → 2:
8 ≤ lat ≤ 23
Latency operand 2 → 3:
10 ≤ lat ≤ 25
Latency operand 3 → 2:
10 ≤ lat ≤ 25
Latency operand 3 → 3:
10 ≤ lat ≤ 25
Throughput
Measured (loop):
14.00
Measured (unrolled):
14.00
Number of μops
Executed: 2
AMD Zen+
Measurements
Latencies
Latency operand 1 → 2:
8 ≤ lat ≤ 23
Latency operand 1 → 3:
10 ≤ lat ≤ 25
Latency operand 2 → 2:
8 ≤ lat ≤ 23
Latency operand 2 → 3:
10 ≤ lat ≤ 25
Latency operand 3 → 2:
10 ≤ lat ≤ 25
Latency operand 3 → 3:
10 ≤ lat ≤ 25
Throughput
Measured (loop):
14.00
Measured (unrolled):
14.00
Number of μops
Executed: 2
Documentation
Latency: 25
Throughput: 25.00
Number of μops: 2
Port usage: ALU2