[PATCH] D159443: [AArch64] Fix schedmodel zero latency moves for Neoverse V2

Ricardo Jesus via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Tue Sep 5 04:32:48 PDT 2023


rjj created this revision.
rjj added reviewers: SjoerdMeijer, dmgreen, david-arm.
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.

Model some register-to-register move operations and move immediate
operations as ``zero latency moves'', as described in the Software
Optimisation Guide (SOG), ยง4.12:

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

NB I've assumed there's a mistake in the SOG on p. 63 in the following
instructions:

mov  h1, wzr
mov  h1, xzr
mov  s1, wzr
mov  d1, xzr

(The `mov' should be an `fmov'.)


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D159443

Files:
  llvm/lib/Target/AArch64/AArch64SchedNeoverseV2.td
  llvm/lib/Target/AArch64/AArch64SchedPredNeoverse.td
  llvm/test/tools/llvm-mca/AArch64/Neoverse/V2-basic-instructions.s
  llvm/test/tools/llvm-mca/AArch64/Neoverse/V2-zero-lat-movs.s

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D159443.555848.patch
Type: text/x-patch
Size: 16584 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20230905/12734415/attachment.bin>


More information about the llvm-commits mailing list