[llvm] 2d13693 - [X86] Update release notes for -mtune support.

Craig Topper via llvm-commits llvm-commits at lists.llvm.org
Wed Aug 26 16:18:48 PDT 2020


Author: Craig Topper
Date: 2020-08-26T16:16:56-07:00
New Revision: 2d13693bfce9b6c2c706f3ea6745ab3fdfa517e1

URL: https://github.com/llvm/llvm-project/commit/2d13693bfce9b6c2c706f3ea6745ab3fdfa517e1
DIFF: https://github.com/llvm/llvm-project/commit/2d13693bfce9b6c2c706f3ea6745ab3fdfa517e1.diff

LOG: [X86] Update release notes for -mtune support.

Added: 
    

Modified: 
    clang/docs/ReleaseNotes.rst
    llvm/docs/ReleaseNotes.rst

Removed: 
    


################################################################################
diff  --git a/clang/docs/ReleaseNotes.rst b/clang/docs/ReleaseNotes.rst
index e810b92c4927..66427f293775 100644
--- a/clang/docs/ReleaseNotes.rst
+++ b/clang/docs/ReleaseNotes.rst
@@ -190,6 +190,11 @@ X86 Support in Clang
 
 - Support for -march=sapphirerapids was added.
 
+- The -mtune command line option is no longer ignored for X86. This can be used
+  to request microarchitectural optimizations independent on -march. -march=<cpu>
+  implies -mtune=<cpu>. -mtune=generic is the default with no -march or -mtune
+  specified.
+
 Internal API Changes
 --------------------
 

diff  --git a/llvm/docs/ReleaseNotes.rst b/llvm/docs/ReleaseNotes.rst
index d1075da16a9d..5cd2386c9207 100644
--- a/llvm/docs/ReleaseNotes.rst
+++ b/llvm/docs/ReleaseNotes.rst
@@ -101,6 +101,11 @@ During this release ...
 * The assembler now has support for {disp32} and {disp8} pseudo prefixes for
   controlling displacement size for memory operands and jump displacements. The
   assembler also supports the .d32 and .d8 mnemonic suffixes to do the same.
+* A new function attribute "tune-cpu" has been added to support -mtune like gcc.
+  This allows microarchitectural optimizations to be applied independent from
+  the "target-cpu" attribute or TargetMachine CPU which will be used to select
+  Instruction Set. If the attribute is not present, the tune CPU will follow
+  the target CPU.
 
 Changes to the AMDGPU Target
 -----------------------------


        


More information about the llvm-commits mailing list