MFENCE
Summary:
"Memory Fence"
Reference:
https://www.felixcloutier.com/x86/mfence
Extension:
SSE2
Category:
MISC
ISA-Set:
SSE2
CPL:
3
iform:
MFENCE
iclass:
MFENCE
ASM:
MFENCE
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
Ivy Bridge
Sandy Bridge
Westmere
Nehalem
Wolfdale
Conroe
Tremont
Goldmont Plus
Goldmont
Airmont
Bonnell
AMD Zen 5
AMD Zen 4
AMD Zen 3
AMD Zen 2
AMD Zen+
Arrow Lake-P
Measurements
Throughput
Computed from the port usage: 0.50
Measured (loop):
40.13
Measured (unrolled):
40.12
Number of μops
Executed: 2
Retire slots: 3
Decoded (MITE): 0
Microcode Sequencer (MS): 3
Requires the complex decoder (no other instruction can be decoded with simple decoders in the same cycle)
Port usage:
1*STA+1*STD
Arrow Lake-E
Measurements
Throughput
Measured (loop):
15.75
Measured (unrolled):
15.50
Number of μops
Executed: 4
Microcode Sequencer (MS): 4
Requires the complex decoder
Meteor Lake-P
Measurements
Throughput
Computed from the port usage: 0.50
Measured (loop):
38.17
Measured (unrolled):
38.00
Number of μops
Executed: 2
Retire slots: 3
Decoded (MITE): 0
Microcode Sequencer (MS): 3
Requires the complex decoder (no other instruction can be decoded with simple decoders in the same cycle)
Port usage:
1*p49+1*p78
Meteor Lake-E
Measurements
Throughput
Measured (loop):
15.50
Measured (unrolled):
15.50
Number of μops
Executed: 3
Microcode Sequencer (MS): 3
Requires the complex decoder
Emerald Rapids
Measurements
Throughput
Computed from the port usage: 0.50
Measured (loop):
38.17
Measured (unrolled):
38.00
Number of μops
Executed: 2
Retire slots: 3
Decoded (MITE): 0
Microcode Sequencer (MS): 3
Requires the complex decoder (no other instruction can be decoded with simple decoders in the same cycle)
Port usage:
1*p49+1*p78
Alder Lake-P
Measurements
Throughput
Computed from the port usage: 0.50
Measured (loop):
38.17
Measured (unrolled):
38.00
Number of μops
Executed: 2
Retire slots: 3
Decoded (MITE): 0
Microcode Sequencer (MS): 3
Requires the complex decoder (no other instruction can be decoded with simple decoders in the same cycle)
Port usage:
1*p49+1*p78
Alder Lake-E
Measurements
Throughput
Measured (loop):
15.02
Measured (unrolled):
15.00
Number of μops
Executed: 3
Microcode Sequencer (MS): 3
Requires the complex decoder
Rocket Lake
Measurements
Throughput
Computed from the port usage: 0.50
Measured (loop):
36.20
Measured (unrolled):
36.20
Number of μops
Executed: 2
Retire slots: 3
Decoded (MITE): 0
Microcode Sequencer (MS): 3
Requires the complex decoder (no other instruction can be decoded with simple decoders in the same cycle)
Port usage:
1*p49+1*p78
Tiger Lake
Measurements
Throughput
Computed from the port usage: 0.50
Measured (loop):
36.20
Measured (unrolled):
36.20
Number of μops
Executed: 2
Retire slots: 3
Decoded (MITE): 0
Microcode Sequencer (MS): 3
Requires the complex decoder (no other instruction can be decoded with simple decoders in the same cycle)
Port usage:
1*p49+1*p78
Ice Lake
Measurements
Throughput
Computed from the port usage: 0.50
Measured (loop):
36.20
Measured (unrolled):
36.20
Number of μops
Executed: 2
Retire slots: 3
Decoded (MITE): 0
Microcode Sequencer (MS): 3
Requires the complex decoder (no other instruction can be decoded with simple decoders in the same cycle)
Port usage:
1*p49+1*p78
Cascade Lake
Measurements
Throughput
Computed from the port usage: 1.00
Measured (loop):
33.25
Measured (unrolled):
33.00
Number of μops
Executed: 2
Retire slots: 4
Decoded (MITE): 0
Microcode Sequencer (MS): 4
Requires the complex decoder (no other instruction can be decoded with simple decoders in the same cycle)
Port usage:
1*p23+1*p4
Cannon Lake
Measurements
Throughput
Computed from the port usage: 1.00
Measured (loop):
34.33
Measured (unrolled):
34.33
Number of μops
Executed: 2
Retire slots: 3
Decoded (MITE): 0
Microcode Sequencer (MS): 3
Requires the complex decoder (no other instruction can be decoded with simple decoders in the same cycle)
Port usage:
1*p23+1*p4
Skylake-X
Measurements
Throughput
Computed from the port usage: 1.00
Measured (loop):
33.25
Measured (unrolled):
33.00
Number of μops
Executed: 2
Retire slots: 4
Decoded (MITE): 0
Microcode Sequencer (MS): 4
Requires the complex decoder (no other instruction can be decoded with simple decoders in the same cycle)
Port usage:
1*p23+1*p4
IACA 2.3
Throughput
Computed from the port usage: 1.00
IACA:
1.00
Number of μops:
4
Port usage:
2*p0156+1*p237+1*p4
IACA 3.0
Throughput
Computed from the port usage: 1.00
IACA:
0.80
Number of μops:
3
Port usage:
2*p0156+1*p237+1*p4
Coffee Lake
Measurements
Throughput
Computed from the port usage: 2.00
Measured (loop):
62.00
Measured (unrolled):
62.00
Number of μops
Executed: 8
Retire slots: 8
Decoded (MITE): 0
Microcode Sequencer (MS): 8
Requires the complex decoder (no other instruction can be decoded with simple decoders in the same cycle)
Port usage:
1*p0156+3*p06+1*p237+1*p4+2*p5
Kaby Lake
Measurements
Throughput
Computed from the port usage: 1.00
Measured (loop):
56.00
Measured (unrolled):
56.00
Number of μops
Executed: 5
Retire slots: 6
Decoded (MITE): 0
Microcode Sequencer (MS): 6
Requires the complex decoder (no other instruction can be decoded with simple decoders in the same cycle)
Port usage:
1*p0156+2*p06+1*p237+1*p4
Skylake
Measurements
Throughput
Computed from the port usage: 1.00
Measured (loop):
33.25
Measured (unrolled):
33.00
Number of μops
Executed: 2
Retire slots: 4
Decoded (MITE): 0
Microcode Sequencer (MS): 4
Requires the complex decoder (no other instruction can be decoded with simple decoders in the same cycle)
Port usage:
1*p23+1*p4
IACA 2.3
Throughput
Computed from the port usage: 1.00
IACA:
1.00
Number of μops:
4
Port usage:
2*p0156+1*p237+1*p4
IACA 3.0
Throughput
Computed from the port usage: 1.00
IACA:
0.80
Number of μops:
3
Port usage:
2*p0156+1*p237+1*p4
Broadwell
Measurements
Throughput
Computed from the port usage: 1.00
Measured (loop):
33.25
Measured (unrolled):
33.25
Number of μops
Executed: 2
Retire slots: 3
Decoded (MITE): 0
Microcode Sequencer (MS): 3
Requires the complex decoder (no other instruction can be decoded with simple decoders in the same cycle)
Port usage:
1*p23+1*p4
IACA 2.2
Throughput
Computed from the port usage: 1.00
IACA:
1.00 (with the -no_interiteration flag: 1.00)
Number of μops:
4
Port usage:
2*p0156+1*p237+1*p4
IACA 2.3
Throughput
Computed from the port usage: 0.50
IACA:
0.50
Number of μops:
2
Port usage:
2*p0156
IACA 3.0
Throughput
Computed from the port usage: 0.50
IACA:
0.48
Number of μops:
2
Port usage:
2*p0156
Haswell
Measurements
Throughput
Computed from the port usage: 1.00
Measured (loop):
33.25
Measured (unrolled):
33.25
Number of μops
Executed: 2
Retire slots: 3
Decoded (MITE): 0
Microcode Sequencer (MS): 3
Requires the complex decoder (no other instruction can be decoded with simple decoders in the same cycle)
Port usage:
1*p23+1*p4
IACA 2.1
Latency:
0
Throughput
IACA:
0.25 (with the -no_interiteration flag: 0.24)
Number of μops:
0
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:
2*p0156
IACA 2.3
Throughput
Computed from the port usage: 0.50
IACA:
0.50
Number of μops:
2
Port usage:
2*p0156
IACA 3.0
Throughput
Computed from the port usage: 0.50
IACA:
0.48
Number of μops:
2
Port usage:
2*p0156
Ivy Bridge
Measurements
Throughput
Computed from the port usage: 1.00
Measured (loop):
36.25
Measured (unrolled):
36.25
Number of μops
Executed: 2
Retire slots: 3
Decoded (MITE): 0
Microcode Sequencer (MS): 3
Requires the complex decoder (no other instruction can be decoded with simple decoders in the same cycle)
Port usage:
1*p23+1*p4
IACA 2.1
Latency:
0
Throughput
IACA:
0.25 (with the -no_interiteration flag: 0.24)
Number of μops:
0
IACA 2.2
Throughput
IACA:
0.25 (with the -no_interiteration flag: 0.24)
Number of μops:
1
IACA 2.3
Throughput
IACA:
0.24
Number of μops:
1
Sandy Bridge
Measurements
Throughput
Computed from the port usage: 1.00
Measured (loop):
33.25
Measured (unrolled):
33.25
Number of μops
Executed: 2
Retire slots: 3
Decoded (MITE): 0
Microcode Sequencer (MS): 3
Requires the complex decoder (no other instruction can be decoded with simple decoders in the same cycle)
Port usage:
1*p23+1*p4
IACA 2.1
Latency:
0
Throughput
IACA:
0.25 (with the -no_interiteration flag: 0.24)
Number of μops:
0
IACA 2.2
Throughput
IACA:
0.25 (with the -no_interiteration flag: 0.24)
Number of μops:
1
IACA 2.3
Throughput
IACA:
0.24
Number of μops:
1
Westmere
Measurements
Throughput
Computed from the port usage: 1.00
Measured (loop):
23.20
Measured (unrolled):
23.25
Number of μops
Executed: 3
Retire slots: 3
Microcode Sequencer (MS): 7
Requires the complex decoder
Port usage:
1*p015+1*p3+1*p4
IACA 2.1
Latency:
1
Throughput
Computed from the port usage: 0.33
IACA:
0.35 (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.35 (with the -no_interiteration flag: 0.35)
Number of μops:
1
Port usage:
1*p015
Nehalem
Measurements
Throughput
Computed from the port usage: 1.00
Measured (loop):
23.20
Measured (unrolled):
23.25
Number of μops
Executed: 3
Retire slots: 3
Microcode Sequencer (MS): 4
Requires the complex decoder
Port usage:
1*p015+1*p3+1*p4
IACA 2.1
Latency:
1
Throughput
Computed from the port usage: 0.33
IACA:
0.35 (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.35 (with the -no_interiteration flag: 0.35)
Number of μops:
1
Port usage:
1*p015
Wolfdale
Measurements
Throughput
Computed from the port usage: 1.00
Measured (loop):
6.02
Measured (unrolled):
6.00
Number of μops
Executed: 2
Port usage:
1*p3+1*p4
Conroe
Measurements
Throughput
Computed from the port usage: 1.00
Measured (loop):
6.02
Measured (unrolled):
6.00
Number of μops
Executed: 2
Port usage:
1*p3+1*p4
Tremont
Measurements
Throughput
Measured (loop):
37.25
Measured (unrolled):
37.25
Number of μops
Executed: 3
Microcode Sequencer (MS): 3
Requires the complex decoder
Goldmont Plus
Measurements
Throughput
Measured (loop):
18.03
Measured (unrolled):
18.00
Number of μops
Executed: 2
Microcode Sequencer (MS): 2
Requires the complex decoder
Goldmont
Measurements
Throughput
Measured (loop):
21.69
Measured (unrolled):
22.00
Number of μops
Executed: 3
Microcode Sequencer (MS): 3
Requires the complex decoder
Airmont
Measurements
Throughput
Measured (loop):
14.04
Measured (unrolled):
13.00
Number of μops
Executed: 2
Microcode Sequencer (MS): 2
Requires the complex decoder
Bonnell
Measurements
Throughput
Measured (loop):
1.00
Measured (unrolled):
1.00
Number of μops
Executed: 1
Microcode Sequencer (MS): 0
AMD Zen 5
Measurements
Throughput
Measured (loop):
82.16
Measured (unrolled):
82.22
Number of μops
Executed: 6
Documentation
Latency: NA
Throughput: NA
Number of μops: ucode
Port usage: ucode
AMD Zen 4
Measurements
Throughput
Measured (loop):
58.30
Measured (unrolled):
58.70
Number of μops
Executed: 6
Documentation
Number of μops: ucode
AMD Zen 3
Measurements
Throughput
Measured (loop):
62.09
Measured (unrolled):
60.94
Number of μops
Executed: 6
Documentation
Number of μops: ucode
AMD Zen 2
Measurements
Throughput
Measured (loop):
78.14
Measured (unrolled):
78.13
Number of μops
Executed: 7
Documentation
Number of μops: ucode
AMD Zen+
Measurements
Throughput
Measured (loop):
77.14
Measured (unrolled):
77.13
Number of μops
Executed: 7
Documentation
Number of μops: ucode