x86: Correct -mlfence-before-indirect-branch= documentation
authorH.J. Lu <hjl.tools@gmail.com>
Thu, 9 Apr 2020 02:31:45 +0000 (19:31 -0700)
committerH.J. Lu <hjl.tools@gmail.com>
Thu, 9 Apr 2020 02:31:45 +0000 (19:31 -0700)
Replace "after indirect near branch" with "before indirect near branch".

* doc/c-i386.texi: Correct -mlfence-before-indirect-branch=
documentation.

gas/ChangeLog
gas/doc/c-i386.texi

index d7293e1b58387d2294ed9efdabc529a505be4f57..ecc3b983bdbea32cb831ae4a85db359056b882a5 100644 (file)
@@ -1,3 +1,8 @@
+2020-04-08  H.J. Lu  <hongjiu.lu@intel.com>
+
+       * doc/c-i386.texi: Correct -mlfence-before-indirect-branch=
+       documentation.
+
 2020-04-08  Gunther Nikl  <gnikl@justmail.de>
 
        * config/tc-moxie.h (MD_PCREL_FROM_SECTION): Delete define.
index 8141a84d9779d6057ecd989054d5f4ec9be602eb..628fb1ad5a62bf9aabe89fd3733c4fb3688772c3 100644 (file)
@@ -484,12 +484,12 @@ lfence, which is the default.
 @item -mlfence-before-indirect-branch=@var{register}
 @itemx -mlfence-before-indirect-branch=@var{memory}
 These options control whether the assembler should generate lfence
-after indirect near branch instructions.
+before indirect near branch instructions.
 @option{-mlfence-before-indirect-branch=@var{all}} will generate lfence
-after indirect near branch via register and issue a warning before
+before indirect near branch via register and issue a warning before
 indirect near branch via memory.
 @option{-mlfence-before-indirect-branch=@var{register}} will generate
-lfence after indirect near branch via register.
+lfence before indirect near branch via register.
 @option{-mlfence-before-indirect-branch=@var{memory}} will issue a
 warning before indirect near branch via memory.
 @option{-mlfence-before-indirect-branch=@var{none}} will not generate