[PATCH] D83913: [X86] Change the tuning settings for pentium4 to be more modern since its the default 32-bit cpu in clang

Craig Topper via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Wed Jul 15 15:00:44 PDT 2020


craig.topper created this revision.
craig.topper added reviewers: echristo, RKSimon, spatel, andreadb.
Herald added subscribers: jfb, hiraditya.
Herald added a project: LLVM.

Alternative to D83897 <https://reviews.llvm.org/D83897>. I believe the big change here is that I removed slow unaligned memory 16

Down side that it may adversely effect tuning if someone explicitly targets -march=pentium4 and expects pentium4 tuned code. Of course pentium4 is so old our default behavior with the previous settings may not have been the best either.


https://reviews.llvm.org/D83913

Files:
  llvm/lib/Target/X86/X86.td
  llvm/test/CodeGen/X86/cfguard-x86-vectorcall.ll
  llvm/test/CodeGen/X86/slow-unaligned-mem.ll
  llvm/test/DebugInfo/COFF/fpo-shrink-wrap.ll
  llvm/test/DebugInfo/COFF/types-array.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D83913.278322.patch
Type: text/x-patch
Size: 6432 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20200715/ecf52465/attachment.bin>


More information about the llvm-commits mailing list