[PATCH] D118534: [X86] Update generic process model to x86-64-v3 to match with GCC

Craig Topper via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Sat Jan 29 09:15:37 PST 2022


craig.topper added inline comments.


================
Comment at: llvm/lib/Target/X86/X86.td:1491
+                [FeatureX87, FeatureCMPXCHG8B, Feature64Bit],
+                ProcessorFeatures.HSWTuning>;
+
----------------
pengfei wrote:
> RKSimon wrote:
> > The old tuning flags didn't match all of SandyBridge's - do we really want to match all of Haswell's?
> The GCC [[ https://gcc.gnu.org/onlinedocs/gcc/x86-Options.html | doc ]] says `generic` will be updated with compiler iteration. I think it's reasonable since the common processors will be upgraded with time.
This turns in some fast shuffle flags that aren’t used by any AMD CPU except znver3. Do those flags make sense for generic?


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D118534/new/

https://reviews.llvm.org/D118534



More information about the llvm-commits mailing list