[PATCH] D150175: [X86] Fix instruction's ports info which is ported from SKL in AlderlakeP model

Haohai, Wen via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Mon May 8 22:09:49 PDT 2023


HaohaiWen created this revision.
Herald added subscribers: pengfei, gbedwell, hiraditya.
Herald added a reviewer: andreadb.
Herald added a project: All.
HaohaiWen requested review of this revision.
Herald added a project: LLVM.
Herald added a subscriber: llvm-commits.

AlderlakeP model is auto generated by D130897 <https://reviews.llvm.org/D130897> using scheduling data from:
(priority in dsc order):

1. Measured data in uops.info.
2. GoldenCove instruction throughput and latency in intel doc.
3. Existing SkylakeClientModel.

In step 3, some ports functionality has changed and new ports were
addedd from SKL to GLC so we need to map the port number. e.g.  Map uop
using port 4 (store) in SKL to port 4,9 in GLC.
The previous port mapping machanism in D130897 <https://reviews.llvm.org/D130897> didn't work and is fixed now.
Refresh this AlderlakeP model to update ports of instructions which
scheduling info are ported from SKL.


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D150175

Files:
  llvm/lib/Target/X86/X86SchedAlderlakeP.td
  llvm/test/tools/llvm-mca/X86/AlderlakeP/resources-avx1.s
  llvm/test/tools/llvm-mca/X86/AlderlakeP/resources-sse2.s
  llvm/test/tools/llvm-mca/X86/AlderlakeP/resources-x87.s
  llvm/test/tools/llvm-mca/X86/AlderlakeP/resources-xsave.s

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D150175.520588.patch
Type: text/x-patch
Size: 127378 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20230509/8a41e78b/attachment-0001.bin>


More information about the llvm-commits mailing list