[all-commits] [llvm/llvm-project] f08a2f: [MCA] Add tests for IPC on Cortex-A55

Andrew Savonichev via All-commits all-commits at lists.llvm.org
Thu Apr 8 09:40:50 PDT 2021


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: f08a2fc09e7547c2cfeccc13f5968aada98fb4b7
      https://github.com/llvm/llvm-project/commit/f08a2fc09e7547c2cfeccc13f5968aada98fb4b7
  Author: Andrew Savonichev <andrew.savonichev at gmail.com>
  Date:   2021-04-08 (Thu, 08 Apr 2021)

  Changed paths:
    A llvm/test/tools/llvm-mca/AArch64/Cortex/IPC/A55-0-single-add.s
    A llvm/test/tools/llvm-mca/AArch64/Cortex/IPC/A55-1-add-seq.s
    A llvm/test/tools/llvm-mca/AArch64/Cortex/IPC/A55-10-fma.s
    A llvm/test/tools/llvm-mca/AArch64/Cortex/IPC/A55-11-fma-mix.s
    A llvm/test/tools/llvm-mca/AArch64/Cortex/IPC/A55-2-skewed-alu.s
    A llvm/test/tools/llvm-mca/AArch64/Cortex/IPC/A55-3-mul.s
    A llvm/test/tools/llvm-mca/AArch64/Cortex/IPC/A55-4-sdiv.s
    A llvm/test/tools/llvm-mca/AArch64/Cortex/IPC/A55-5-mul-sdiv.s
    A llvm/test/tools/llvm-mca/AArch64/Cortex/IPC/A55-6-mul.s
    A llvm/test/tools/llvm-mca/AArch64/Cortex/IPC/A55-7-cmp.s
    A llvm/test/tools/llvm-mca/AArch64/Cortex/IPC/A55-8-ldr.s
    A llvm/test/tools/llvm-mca/AArch64/Cortex/IPC/A55-9-fabs.s

  Log Message:
  -----------
  [MCA] Add tests for IPC on Cortex-A55

The tests compare IPC statistics that MCA provides with IPC values
measured on Cortex-A55 hardware. For hardware tests, each snippet is
run in a loop unrolled by 1000, and IPC is measured by linux-perf.

Several tests do not match the hardware: the skewed ALU is not
supported, LDR seem to be missing a forwarding path.

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




More information about the All-commits mailing list