[PATCH] D98174: [MCA] Add tests for IPC on Cortex-A55

Andrew Savonichev via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Mon Mar 8 05:48:29 PST 2021


asavonic created this revision.
asavonic added reviewers: andreadb, dmgreen, evgeny777.
Herald added a subscriber: gbedwell.
asavonic requested review of this revision.
Herald added a project: LLVM.
Herald added a subscriber: llvm-commits.

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, and integer
DIV takes a variable number of cycles.


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D98174

Files:
  llvm/test/tools/llvm-mca/AArch64/Cortex/IPC/A55-0.s
  llvm/test/tools/llvm-mca/AArch64/Cortex/IPC/A55-1.s
  llvm/test/tools/llvm-mca/AArch64/Cortex/IPC/A55-2.s
  llvm/test/tools/llvm-mca/AArch64/Cortex/IPC/A55-3.s
  llvm/test/tools/llvm-mca/AArch64/Cortex/IPC/A55-4.s
  llvm/test/tools/llvm-mca/AArch64/Cortex/IPC/A55-5.s
  llvm/test/tools/llvm-mca/AArch64/Cortex/IPC/A55-6.s
  llvm/test/tools/llvm-mca/AArch64/Cortex/IPC/A55-7.s
  llvm/test/tools/llvm-mca/AArch64/Cortex/IPC/A55-8.s

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D98174.328983.patch
Type: text/x-patch
Size: 4927 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20210308/58df83ee/attachment.bin>


More information about the llvm-commits mailing list