[AArch64] Fix sched model for tsv110
authorzhongyunde <zhongyunde@huawei.com>
Thu, 25 Aug 2022 11:14:58 +0000 (19:14 +0800)
committerzhongyunde <zhongyunde@huawei.com>
Thu, 25 Aug 2022 11:20:07 +0000 (19:20 +0800)
commit3c8f327ce94fd706ec11d927b22a3642b98adad1
treed0ac1b4ca9092fe849b880d92cceee8dd2e2d2ec
parentccf788a5659430571d5970dfc766b235e413dde2
[AArch64] Fix sched model for tsv110

Update three changes:
1.Split the Load/Store resources into two, Ld0St and Ld1,
  since only one of them is capable of stores.
2.Integer ADD and SUB instructions have different latencies
  and processor resource usage (pipeline) when they have a shift of
  zero vs. non-zero, refer to D8043
3.The throughout of scalar DIV instruction.

Reviewed By: dmgreen, bryanpkc

Differential Revision: https://reviews.llvm.org/D132529
llvm/lib/Target/AArch64/AArch64SchedTSV110.td
llvm/test/tools/llvm-mca/AArch64/HiSilicon/tsv110-basic-instructions.s