DIV (R64)
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 (RAX, RCX, RDX, RBX, RSP, RBP, RSI, RDI, R8, R9, R10, R11, R12, R13, R14, R15)
Operand 2 (r/w, suppressed): Register (RAX)
Operand 3 (r/w, suppressed): Register (RDX)
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:
14
Latency operand 1 → 3:
18
Latency operand 2 → 2:
14
Latency operand 2 → 3:
18
Latency operand 3 → 2:
18
Latency operand 3 → 3:
18
Throughput
Computed from the port usage: 3.00
Measured (loop):
10.00
Measured (unrolled):
10.00
Number of μops
Executed: 3
Retire slots: 5
Decoded (MITE): 5
Microcode Sequencer (MS): 0
Port usage:
3*p1
Alder Lake-E
Measurements
Latencies
Latency operand 1 → 2:
12 ≤ lat ≤ 43
Latency operand 1 → 3:
13 ≤ lat ≤ 44
Latency operand 2 → 2:
11 ≤ lat ≤ 42
Latency operand 2 → 3:
12 ≤ lat ≤ 43
Latency operand 3 → 2:
11 ≤ lat ≤ 42
Latency operand 3 → 3:
11 ≤ lat ≤ 42
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:
14
Latency operand 1 → 3:
18
Latency operand 2 → 2:
14
Latency operand 2 → 3:
18
Latency operand 3 → 2:
18
Latency operand 3 → 3:
18
Throughput
Computed from the port usage: 3.00
Measured (loop):
10.00
Measured (unrolled):
10.00
Number of μops
Executed: 4
Retire slots: 4
Decoded (MITE): 4
Microcode Sequencer (MS): 0
Port usage:
1*p0156+3*p1
Tiger Lake
Measurements
Latencies
Latency operand 1 → 2:
14
Latency operand 1 → 3:
18
Latency operand 2 → 2:
14
Latency operand 2 → 3:
18
Latency operand 3 → 2:
18
Latency operand 3 → 3:
18
Throughput
Computed from the port usage: 3.00
Measured (loop):
10.00
Measured (unrolled):
10.00
Number of μops
Executed: 4
Retire slots: 4
Decoded (MITE): 4
Microcode Sequencer (MS): 0
Port usage:
1*p0156+3*p1
Ice Lake
Measurements
Latencies
Latency operand 1 → 2:
14
Latency operand 1 → 3:
18
Latency operand 2 → 2:
14
Latency operand 2 → 3:
18
Latency operand 3 → 2:
18
Latency operand 3 → 3:
18
Throughput
Computed from the port usage: 3.00
Measured (loop):
10.00
Measured (unrolled):
10.03
Number of μops
Executed: 4
Retire slots: 4
Decoded (MITE): 4
Microcode Sequencer (MS): 0
Port usage:
1*p0156+3*p1
Cascade Lake
Measurements
Latencies
Latency operand 1 → 2:
35 ≤ lat ≤ 89
Latency operand 1 → 3:
34 ≤ lat ≤ 88
Latency operand 2 → 2:
32 ≤ lat ≤ 87
Latency operand 2 → 3:
32 ≤ lat ≤ 87
Latency operand 3 → 2:
6 ≤ lat ≤ 76
Latency operand 3 → 3:
6 ≤ lat ≤ 73
Throughput
Computed from the port usage: 8.25
Measured (loop):
21.09
Measured (unrolled):
21.02
Number of μops
Executed: 33
Retire slots: 36
Decoded (MITE): 4
Microcode Sequencer (MS): 32
Port usage:
2*p0+7*p015+5*p0156+1*p05+13*p06+1*p1+1*p15+3*p5
Cannon Lake
Measurements
Latencies
Latency operand 1 → 2:
14
Latency operand 1 → 3:
18
Latency operand 2 → 2:
14
Latency operand 2 → 3:
18
Latency operand 3 → 2:
18
Latency operand 3 → 3:
18
Throughput
Computed from the port usage: 3.00
Measured (loop):
10.00
Measured (unrolled):
10.00
Number of μops
Executed: 4
Retire slots: 4
Decoded (MITE): 4
Microcode Sequencer (MS): 0
Port usage:
1*p0156+3*p1
Skylake-X
Measurements
Latencies
Latency operand 1 → 2:
35 ≤ lat ≤ 89
Latency operand 1 → 3:
34 ≤ lat ≤ 88
Latency operand 2 → 2:
32 ≤ lat ≤ 87
Latency operand 2 → 3:
32 ≤ lat ≤ 87
Latency operand 3 → 2:
6 ≤ lat ≤ 76
Latency operand 3 → 3:
6 ≤ lat ≤ 73
Throughput
Computed from the port usage: 8.25
Measured (loop):
21.04
Measured (unrolled):
21.04
Number of μops
Executed: 33
Retire slots: 36
Decoded (MITE): 4
Microcode Sequencer (MS): 32
Port usage:
2*p0+7*p015+5*p0156+1*p05+13*p06+1*p1+1*p15+3*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:
35 ≤ lat ≤ 89
Latency operand 1 → 3:
34 ≤ lat ≤ 88
Latency operand 2 → 2:
32 ≤ lat ≤ 87
Latency operand 2 → 3:
32 ≤ lat ≤ 87
Latency operand 3 → 2:
5 ≤ lat ≤ 75
Latency operand 3 → 3:
5 ≤ lat ≤ 73
Throughput
Computed from the port usage: 8.25
Measured (loop):
21.06
Measured (unrolled):
21.04
Number of μops
Executed: 33
Retire slots: 36
Decoded (MITE): 4
Microcode Sequencer (MS): 32
Port usage:
2*p0+7*p015+5*p0156+1*p05+13*p06+1*p1+1*p15+3*p5
Kaby Lake
Measurements
Latencies
Latency operand 1 → 2:
35 ≤ lat ≤ 89
Latency operand 1 → 3:
34 ≤ lat ≤ 88
Latency operand 2 → 2:
32 ≤ lat ≤ 87
Latency operand 2 → 3:
32 ≤ lat ≤ 87
Latency operand 3 → 2:
6 ≤ lat ≤ 76
Latency operand 3 → 3:
6 ≤ lat ≤ 73
Throughput
Computed from the port usage: 8.25
Measured (loop):
21.06
Measured (unrolled):
21.02
Number of μops
Executed: 33
Retire slots: 36
Decoded (MITE): 4
Microcode Sequencer (MS): 32
Port usage:
2*p0+8*p015+5*p0156+1*p05+13*p06+1*p1+3*p5
Skylake
Measurements
Latencies
Latency operand 1 → 2:
35 ≤ lat ≤ 89
Latency operand 1 → 3:
34 ≤ lat ≤ 88
Latency operand 2 → 2:
32 ≤ lat ≤ 87
Latency operand 2 → 3:
32 ≤ lat ≤ 87
Latency operand 3 → 2:
5 ≤ lat ≤ 76
Latency operand 3 → 3:
5 ≤ lat ≤ 73
Throughput
Computed from the port usage: 8.25
Measured (loop):
21.06
Measured (unrolled):
21.04
Number of μops
Executed: 33
Retire slots: 36
Decoded (MITE): 4
Microcode Sequencer (MS): 32
Port usage:
2*p0+8*p015+5*p0156+1*p05+13*p06+1*p1+3*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:
30 ≤ lat ≤ 92
Latency operand 1 → 3:
30 ≤ lat ≤ 91
Latency operand 2 → 2:
30 ≤ lat ≤ 92
Latency operand 2 → 3:
31 ≤ lat ≤ 92
Latency operand 3 → 2:
5 ≤ lat ≤ 80
Latency operand 3 → 3:
5 ≤ lat ≤ 79
Throughput
Computed from the port usage: 8.00
Measured (loop):
21.07
Measured (unrolled):
21.00
Number of μops
Executed: 32
Retire slots: 36
Decoded (MITE): 4
Microcode Sequencer (MS): 32
Port usage:
2*p0+7*p015+5*p0156+12*p06+3*p1+3*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:
31 ≤ lat ≤ 94
Latency operand 1 → 3:
30 ≤ lat ≤ 92
Latency operand 2 → 2:
30 ≤ lat ≤ 93
Latency operand 2 → 3:
30 ≤ lat ≤ 94
Latency operand 3 → 2:
5 ≤ lat ≤ 82
Latency operand 3 → 3:
5 ≤ lat ≤ 81
Throughput
Computed from the port usage: 8.00
Measured (loop):
21.07
Measured (unrolled):
21.00
Number of μops
Executed: 32
Retire slots: 36
Decoded (MITE): 4
Microcode Sequencer (MS): 32
Port usage:
2*p0+8*p015+4*p0156+12*p06+3*p1+3*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:
31 ≤ lat ≤ 91
Latency operand 1 → 3:
30 ≤ lat ≤ 88
Latency operand 2 → 2:
28 ≤ lat ≤ 89
Latency operand 2 → 3:
28 ≤ lat ≤ 89
Latency operand 3 → 2:
6 ≤ lat ≤ 79
Latency operand 3 → 3:
6 ≤ lat ≤ 78
Throughput
Computed from the port usage: 11.00
Measured (loop):
22.10
Measured (unrolled):
22.40
Number of μops
Executed: 32
Retire slots: 35
Decoded (MITE): 4
Microcode Sequencer (MS): 31
Port usage:
2*p0+3*p01+11*p015+2*p05+3*p1+11*p5
Sandy Bridge
Measurements
Latencies
Latency operand 1 → 2:
30 ≤ lat ≤ 91
Latency operand 1 → 3:
29 ≤ lat ≤ 90
Latency operand 2 → 2:
28 ≤ lat ≤ 89
Latency operand 2 → 3:
28 ≤ lat ≤ 89
Latency operand 3 → 2:
6 ≤ lat ≤ 78
Latency operand 3 → 3:
6 ≤ lat ≤ 78
Throughput
Computed from the port usage: 11.00
Measured (loop):
22.10
Measured (unrolled):
22.64
Number of μops
Executed: 32
Retire slots: 34
Decoded (MITE): 4
Microcode Sequencer (MS): 30
Port usage:
2*p0+3*p01+11*p015+2*p05+3*p1+11*p5
Westmere
Measurements
Latencies
Latency operand 1 → 2:
28 ≤ lat ≤ 88
Latency operand 1 → 3:
26 ≤ lat ≤ 88
Latency operand 2 → 2:
28 ≤ lat ≤ 86
Latency operand 2 → 3:
28 ≤ lat ≤ 87
Latency operand 3 → 2:
10 ≤ lat ≤ 81
Latency operand 3 → 3:
9 ≤ lat ≤ 79
Throughput
Computed from the port usage: 10.67
Measured (loop):
23.05
Measured (unrolled):
23.02
Number of μops
Executed: 32
Retire slots: 32
Microcode Sequencer (MS): 98
Port usage:
1*p0+14*p015+7*p05+3*p1+7*p5
Nehalem
Measurements
Latencies
Latency operand 1 → 2:
30 ≤ lat ≤ 90
Latency operand 1 → 3:
26 ≤ lat ≤ 90
Latency operand 2 → 2:
29 ≤ lat ≤ 87
Latency operand 2 → 3:
29 ≤ lat ≤ 90
Latency operand 3 → 2:
10 ≤ lat ≤ 79
Latency operand 3 → 3:
11 ≤ lat ≤ 78
Throughput
Computed from the port usage: 9.67
Measured (loop):
19.20
Measured (unrolled):
19.17
Number of μops
Executed: 29
Retire slots: 29
Microcode Sequencer (MS): 85
Port usage:
1*p0+14*p015+4*p05+3*p1+7*p5
Wolfdale
Measurements
Latencies
Latency operand 1 → 2:
29 ≤ lat ≤ 68
Latency operand 1 → 3:
28 ≤ lat ≤ 67
Latency operand 2 → 2:
29 ≤ lat ≤ 66
Latency operand 2 → 3:
28 ≤ lat ≤ 67
Latency operand 3 → 2:
13 ≤ lat ≤ 61
Latency operand 3 → 3:
10 ≤ lat ≤ 66
Throughput
Computed from the port usage: 10.67
Measured (loop):
17.67
Measured (unrolled):
17.65
Number of μops
Executed: 32
Port usage:
2*p0+9*p015+3*p05+8*p1+10*p5
Conroe
Measurements
Latencies
Latency operand 1 → 2:
32 ≤ lat ≤ 119
Latency operand 1 → 3:
31 ≤ lat ≤ 119
Latency operand 2 → 2:
33 ≤ lat ≤ 121
Latency operand 2 → 3:
32 ≤ lat ≤ 120
Latency operand 3 → 2:
15 ≤ lat ≤ 102
Latency operand 3 → 3:
14 ≤ lat ≤ 102
Throughput
Computed from the port usage: 11.33
Measured (loop):
17.69
Measured (unrolled):
17.71
Number of μops
Executed: 34
Port usage:
2*p0+8*p015+8*p05+10*p1+6*p5
Tremont
Measurements
Latencies
Latency operand 1 → 2:
11 ≤ lat ≤ 42
Latency operand 1 → 3:
12 ≤ lat ≤ 43
Latency operand 2 → 2:
11 ≤ lat ≤ 42
Latency operand 2 → 3:
12 ≤ lat ≤ 43
Latency operand 3 → 2:
11 ≤ lat ≤ 42
Latency operand 3 → 3:
11 ≤ lat ≤ 42
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 ≤ 42
Latency operand 1 → 3:
14 ≤ lat ≤ 43
Latency operand 2 → 2:
13 ≤ lat ≤ 42
Latency operand 2 → 3:
14 ≤ lat ≤ 43
Latency operand 3 → 2:
13 ≤ lat ≤ 42
Latency operand 3 → 3:
13 ≤ lat ≤ 42
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 ≤ 42
Latency operand 1 → 3:
14 ≤ lat ≤ 43
Latency operand 2 → 2:
13 ≤ lat ≤ 42
Latency operand 2 → 3:
14 ≤ lat ≤ 43
Latency operand 3 → 2:
13 ≤ lat ≤ 42
Latency operand 3 → 3:
13 ≤ lat ≤ 42
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:
35 ≤ lat ≤ 97
Latency operand 1 → 3:
35 ≤ lat ≤ 95
Latency operand 2 → 2:
34 ≤ lat ≤ 96
Latency operand 2 → 3:
33 ≤ lat ≤ 95
Latency operand 3 → 2:
31 ≤ lat ≤ 95
Latency operand 3 → 3:
30 ≤ lat ≤ 95
Throughput
Measured (loop):
25.00
Measured (unrolled):
25.00
Number of μops
Executed: 23
Microcode Sequencer (MS): 23
Bonnell
Measurements
Latencies
Latency operand 1 → 2:
70 ≤ lat ≤ 192
Latency operand 1 → 3:
70 ≤ lat ≤ 192
Latency operand 2 → 2:
70 ≤ lat ≤ 192
Latency operand 2 → 3:
70 ≤ lat ≤ 192
Latency operand 3 → 2:
70 ≤ lat ≤ 192
Latency operand 3 → 3:
70 ≤ lat ≤ 192
Throughput
Measured (loop):
71.02
Measured (unrolled):
71.00
Number of μops
Executed: 38
Microcode Sequencer (MS): 38
AMD Zen 4
Measurements
Latencies
Latency operand 1 → 2:
9 ≤ lat ≤ 17
Latency operand 1 → 3:
10 ≤ lat ≤ 18
Latency operand 2 → 2:
9 ≤ lat ≤ 17
Latency operand 2 → 3:
10 ≤ lat ≤ 18
Latency operand 3 → 2:
11 ≤ lat ≤ 19
Latency operand 3 → 3:
11 ≤ lat ≤ 19
Throughput
Measured (loop):
7.00
Measured (unrolled):
7.00
Number of μops
Executed: 2
AMD Zen 3
Measurements
Latencies
Latency operand 1 → 2:
9 ≤ lat ≤ 17
Latency operand 1 → 3:
10 ≤ lat ≤ 18
Latency operand 2 → 2:
9 ≤ lat ≤ 17
Latency operand 2 → 3:
10 ≤ lat ≤ 18
Latency operand 3 → 2:
11 ≤ lat ≤ 19
Latency operand 3 → 3:
11 ≤ lat ≤ 19
Throughput
Measured (loop):
7.00
Measured (unrolled):
7.00
Number of μops
Executed: 2
AMD Zen 2
Measurements
Latencies
Latency operand 1 → 2:
8 ≤ lat ≤ 39
Latency operand 1 → 3:
10 ≤ lat ≤ 41
Latency operand 2 → 2:
8 ≤ lat ≤ 39
Latency operand 2 → 3:
10 ≤ lat ≤ 41
Latency operand 3 → 2:
10 ≤ lat ≤ 41
Latency operand 3 → 3:
10 ≤ lat ≤ 41
Throughput
Measured (loop):
14.00
Measured (unrolled):
14.00
Number of μops
Executed: 2
AMD Zen+
Measurements
Latencies
Latency operand 1 → 2:
8 ≤ lat ≤ 39
Latency operand 1 → 3:
10 ≤ lat ≤ 41
Latency operand 2 → 2:
8 ≤ lat ≤ 39
Latency operand 2 → 3:
10 ≤ lat ≤ 41
Latency operand 3 → 2:
10 ≤ lat ≤ 41
Latency operand 3 → 3:
10 ≤ lat ≤ 41
Throughput
Measured (loop):
14.00
Measured (unrolled):
14.00
Number of μops
Executed: 2
Documentation
Latency: 41
Throughput: 41.00
Number of μops: 2
Port usage: ALU2