[PATCH] D61873: [PowerPC] P9 Scheduling Model: dispatching rule fixes
Jinsong Ji via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Mon May 13 13:59:22 PDT 2019
jsji created this revision.
jsji added reviewers: steven.zhang, stefanp, nemanjai, kbarton, echristo, hfinkel, llvm-commits.
Herald added a subscriber: hiraditya.
Herald added a project: LLVM.
jsji removed a reviewer: llvm-commits.
jsji added a subscriber: llvm-commits.
This is to address some of the problems in existing P9 <https://reviews.llvm.org/P9> resource modeling,
especially about the dispatching rules.
Instead of using a hypothetical DISPATCHER , we try to use the number of actual dispatch slots,
and define SchedWriteRes to model dispatch rules,
then update instruction classes according to dispatch rules.
All the dispatch rules and instruction classes update are made according
to POWER9 User Manual.
SPEC2017 benchmark test on P9 <https://reviews.llvm.org/P9> machines shows some improvement in 525.x264_r and 502.gcc_r,
no big degradation for others.
Repository:
rL LLVM
https://reviews.llvm.org/D61873
Files:
llvm/lib/Target/PowerPC/P9InstrResources.td
llvm/lib/Target/PowerPC/PPCScheduleP9.td
llvm/test/CodeGen/PowerPC/build-vector-tests.ll
llvm/test/CodeGen/PowerPC/vec_conv_fp32_to_i8_elts.ll
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D61873.199323.patch
Type: text/x-patch
Size: 49915 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20190513/ea4678e4/attachment.bin>
More information about the llvm-commits
mailing list