binutils Newspaper
NOVEMBER 30, 2026
x86 — Proposed

x86: extend documentation of -mlfence-after-load

Clarifies the scope of the -mlfence-after-load option in the assembler documentation.

This documentation update clarifies the behavior of the -mlfence-after-load option in the x86 assembler. It specifies that the option applies to ISAs affected by Intel SA-00334 and affects load instructions that alter registers used in subsequent memory accesses, rather than all load instructions.

In Details

This change updates the documentation for the -mlfence-after-load assembler flag. Previously, it was broadly stated to apply after 'load instructions'. This update clarifies that it's targeted towards specific loads that might affect speculative execution in the context of Spectre/Meltdown (Intel SA-00334) by inserting an LFENCE instruction, and that not all load instructions are covered.

For Context
x86
A family of instruction set architectures (ISAs) for CPUs, commonly used in personal computers and servers.
-mlfence-after-load
An assembler option that controls the insertion of an LFENCE (load fence) instruction after certain load operations.
LFENCE
A processor instruction that orders memory loads, preventing subsequent loads from being reordered before it.
ISA
Instruction Set Architecture. The set of commands a processor understands.
Intel SA-00334
A security advisory from Intel related to speculative execution vulnerabilities (like Spectre and Meltdown) that led to mitigation techniques like the insertion of fences.
Filed Under: binutilsx86documentationsecurity