From 2d13693bfce9b6c2c706f3ea6745ab3fdfa517e1 Mon Sep 17 00:00:00 2001 From: Craig Topper Date: Wed, 26 Aug 2020 15:58:38 -0700 Subject: [PATCH] [X86] Update release notes for -mtune support. --- clang/docs/ReleaseNotes.rst | 5 +++++ llvm/docs/ReleaseNotes.rst | 5 +++++ 2 files changed, 10 insertions(+) diff --git a/clang/docs/ReleaseNotes.rst b/clang/docs/ReleaseNotes.rst index e810b92..66427f2 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= + implies -mtune=. -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 d1075da..5cd2386 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 ----------------------------- -- 2.7.4