[all-commits] [llvm/llvm-project] 3083b6: [X86] Revise Alderlake P-Core schedule model

HaohaiWen via All-commits all-commits at lists.llvm.org
Tue Feb 28 15:39:46 PST 2023


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 3083b65c3494b912e622a006a1b563a7e9f1d508
      https://github.com/llvm/llvm-project/commit/3083b65c3494b912e622a006a1b563a7e9f1d508
  Author: Haohai Wen <haohai.wen at intel.com>
  Date:   2023-03-01 (Wed, 01 Mar 2023)

  Changed paths:
    M llvm/lib/Target/X86/X86SchedAlderlakeP.td
    M llvm/test/tools/llvm-mca/X86/AlderlakeP/independent-load-stores.s
    M llvm/test/tools/llvm-mca/X86/AlderlakeP/resources-aes.s
    M llvm/test/tools/llvm-mca/X86/AlderlakeP/resources-avx1.s
    M llvm/test/tools/llvm-mca/X86/AlderlakeP/resources-avx2.s
    M llvm/test/tools/llvm-mca/X86/AlderlakeP/resources-avxgfni.s
    M llvm/test/tools/llvm-mca/X86/AlderlakeP/resources-avxvnni.s
    M llvm/test/tools/llvm-mca/X86/AlderlakeP/resources-bmi1.s
    M llvm/test/tools/llvm-mca/X86/AlderlakeP/resources-bmi2.s
    M llvm/test/tools/llvm-mca/X86/AlderlakeP/resources-clflushopt.s
    M llvm/test/tools/llvm-mca/X86/AlderlakeP/resources-clwb.s
    M llvm/test/tools/llvm-mca/X86/AlderlakeP/resources-cmov.s
    M llvm/test/tools/llvm-mca/X86/AlderlakeP/resources-f16c.s
    M llvm/test/tools/llvm-mca/X86/AlderlakeP/resources-fma.s
    M llvm/test/tools/llvm-mca/X86/AlderlakeP/resources-lea.s
    M llvm/test/tools/llvm-mca/X86/AlderlakeP/resources-mmx.s
    M llvm/test/tools/llvm-mca/X86/AlderlakeP/resources-pclmul.s
    M llvm/test/tools/llvm-mca/X86/AlderlakeP/resources-sse1.s
    M llvm/test/tools/llvm-mca/X86/AlderlakeP/resources-sse2.s
    M llvm/test/tools/llvm-mca/X86/AlderlakeP/resources-sse3.s
    M llvm/test/tools/llvm-mca/X86/AlderlakeP/resources-sse41.s
    M llvm/test/tools/llvm-mca/X86/AlderlakeP/resources-sse42.s
    M llvm/test/tools/llvm-mca/X86/AlderlakeP/resources-ssse3.s
    M llvm/test/tools/llvm-mca/X86/AlderlakeP/resources-vaes.s
    M llvm/test/tools/llvm-mca/X86/AlderlakeP/resources-vpclmulqdq.s
    M llvm/test/tools/llvm-mca/X86/AlderlakeP/resources-x86_64.s
    M llvm/test/tools/llvm-mca/X86/AlderlakeP/zero-idioms.s

  Log Message:
  -----------
  [X86] Revise Alderlake P-Core schedule model

The previous Alderlake P-Core model prefer data from uops.info than intel doc.
Some measures latency from uops.info is larger than real latency. e.g. addpd
latency is 3 in uops.info while 2 in intel doc. This patch adjust the priority
of those two data source so that intel doc is more preferable.

Reviewed By: RKSimon

Differential Revision: https://reviews.llvm.org/D144388




More information about the All-commits mailing list