[v2,3/3] x86: extend documentation of -mlfence-after-load

Message ID af213db6-d078-4571-962e-df3774ac9edf@suse.com
State New
Headers
Series x86: coverage of -mlfence-after-load |

Checks

Context Check Description
linaro-tcwg-bot/tcwg_binutils_build--master-aarch64 success Build passed
linaro-tcwg-bot/tcwg_binutils_check--master-aarch64 success Test passed
linaro-tcwg-bot/tcwg_binutils_build--master-arm success Build passed
linaro-tcwg-bot/tcwg_binutils_check--master-arm success Test passed

Commit Message

Jan Beulich Oct. 30, 2026, 10:40 a.m. UTC
  It was decided to not bother covering newer ISA extensions. Reflect that,
while also clarifying that it's not _all_ load insns which are covered.
---
v2: New.
  

Patch

--- a/gas/doc/c-i386.texi
+++ b/gas/doc/c-i386.texi
@@ -545,9 +545,12 @@  The default doesn't align branches.
 @item -mlfence-after-load=@var{no}
 @itemx -mlfence-after-load=@var{yes}
 These options control whether the assembler should generate lfence
-after load instructions.  @option{-mlfence-after-load=@var{yes}} will
-generate lfence.  @option{-mlfence-after-load=@var{no}} will not generate
-lfence, which is the default.
+after load instructions altering registers which may be used by address
+calculations of subsequent memory accesses.  Only ISAs available on
+hardware affected by Intel SA-00334 will be reliably covered.
+@option{-mlfence-after-load=@var{yes}} will generate lfence.
+@option{-mlfence-after-load=@var{no}} will not generate lfence, which is
+the default.
 
 @cindex @samp{-mlfence-before-indirect-branch=} option, i386
 @cindex @samp{-mlfence-before-indirect-branch=} option, x86-64