Adjust PPC440 operand latencies
authorHal Finkel <hfinkel@anl.gov>
Fri, 29 Nov 2013 05:59:00 +0000 (05:59 +0000)
committerHal Finkel <hfinkel@anl.gov>
Fri, 29 Nov 2013 05:59:00 +0000 (05:59 +0000)
commitb5ff1bb218507bb1c03f139697473412c7cd54de
tree0572a3f6ef56d2a912443eccf6231a0be810dcb3
parentf13a4e6e7b5baded3ddb3f3cf5317d55bf6ab54a
Adjust PPC440 operand latencies

The operand latencies for the PPC440 should be specified relative to dispatch,
not relative to the initial fetch-and-decode stages. Because most instructions
(ignoring bypass) wait in dispatch until their operands are ready, this is
modeled as reading input operands "at dispatch" (0 cycles after issue), and so
every input and output operand has 4 cycles subtracted from it.

This could alter scheduling slightly, but I don't expect a large effect.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@195947 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Target/PowerPC/PPCSchedule440.td