[PATCH] D144388: [X86] Revise Alderlake P-Core schedule model

Haohai, Wen via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Thu Feb 23 18:46:59 PST 2023


HaohaiWen added a comment.

In D144388#4149073 <https://reviews.llvm.org/D144388#4149073>, @RKSimon wrote:

> Was this still generated from the D130897 <https://reviews.llvm.org/D130897>  schedtool scripts?

Yes. Only alderlake-p.td template changed one line to add additional ProcResGroup.

Diff in this patch comes from reordering of the generating command from:

llvm-tblgen llvm/lib/Target/X86/X86.td -I llvm/include -I llvm/lib/Target/X86 --gen-x86-inst-sched-info -o inst-sched-info.json
add_xed_info.py --xed [xed_path]/xed --jf inst-sched-info.json |
//**add_uops_uopsinfo.py --inst-xml instructions.xml --arch-name=ADL-P |
add_adl_p_uopsinfo.py --adl-p-json tpt_lat-glc-client.json |**//
add_smv_uopsinfo.py --ref-cpu=skylake --target-cpu=alderlake-p -o d.json
smg gen --target-cpu=alderlake-p d.json -o d.td

to:
llvm-tblgen llvm/lib/Target/X86/X86.td -I llvm/include -I llvm/lib/Target/X86 --gen-x86-inst-sched-info -o inst-sched-info.json
add_xed_info.py --xed [xed_path]/xed --jf inst-sched-info.json |
**//add_adl_p_uopsinfo.py --adl-p-json tpt_lat-glc-client.json |
add_uops_uopsinfo.py --inst-xml instructions.xml --arch-name=ADL-P |//**
add_smv_uopsinfo.py --ref-cpu=skylake --target-cpu=alderlake-p -o d.json
smg gen --target-cpu=alderlake-p d.json -o d.td


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D144388



More information about the llvm-commits mailing list