[PATCH] D151894: [AArch64] Neoverse V2 scheduling model

Ricardo Jesus via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Thu Jun 1 08:35:34 PDT 2023


rjj created this revision.
rjj added reviewers: dmgreen, david-arm, paulwalker-arm, madhur13490, SjoerdMeijer.
Herald added subscribers: gbedwell, hiraditya, kristof.beyls.
Herald added a reviewer: andreadb.
Herald added a project: All.
rjj requested review of this revision.
Herald added a project: LLVM.
Herald added a subscriber: llvm-commits.

This adds a scheduling model for the Neoverse V2. All information is taken from
the Neoverse V2 Software Optimisation Guide:

https://developer.arm.com/documentation/PJDOC-466751330-593177/r0p2

The model was tested on hardware and performance results are overall neutral
for SPEC2017 INT and FP compared to the Neoverse N2 scheduling model currently
used as default.

Having this model enables a more accurate description of the CPU with llvm-mca.


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D151894

Files:
  llvm/lib/Target/AArch64/AArch64.td
  llvm/lib/Target/AArch64/AArch64InstrFormats.td
  llvm/lib/Target/AArch64/AArch64InstrInfo.cpp
  llvm/lib/Target/AArch64/AArch64InstrInfo.h
  llvm/lib/Target/AArch64/AArch64SchedNeoverseV2.td
  llvm/lib/Target/AArch64/AArch64SchedPredNeoverse.td
  llvm/lib/Target/AArch64/AArch64SchedPredicates.td
  llvm/lib/Target/AArch64/MCTargetDesc/AArch64MCTargetDesc.cpp
  llvm/lib/Target/AArch64/MCTargetDesc/AArch64MCTargetDesc.h
  llvm/test/tools/llvm-mca/AArch64/Neoverse/V2-basic-instructions.s
  llvm/test/tools/llvm-mca/AArch64/Neoverse/V2-neon-instructions.s
  llvm/test/tools/llvm-mca/AArch64/Neoverse/V2-sve-instructions.s



More information about the llvm-commits mailing list