[PATCH] D154756: [AArch64] Add scheduling model for Neoverse V1

Dave Green via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Thu Jul 13 01:29:43 PDT 2023


dmgreen added inline comments.


================
Comment at: llvm/lib/Target/AArch64/AArch64SchedNeoverseV1.td:29
+
+  list<Predicate> UnsupportedFeatures = !listconcat(SMEUnsupported.F, [HasMTE]);
+}
----------------
evandro wrote:
> dmgreen wrote:
> > Does it help to add SVE2 too?
> The Neoverse V1 does not support Armv9.
Yep, that's my point (If I understand what you are saying). It doesn't have SVE2, only SVE1. And doesn't have SME and MTE too. Hence adding it to the list of unsupported features could help cut down on the number of unsupported instructions that it thinks are missing.


================
Comment at: llvm/test/tools/llvm-mca/AArch64/Neoverse/512tvb-sve-instructions.s:4
 
 # Check the Neoverse N2 model is used.
 
----------------
evandro wrote:
> tschuett wrote:
> > Nit: V1 model?
> Perhaps it deserves a more comprehensive test case than just a single instruction.
Sounds like the comment still needs updating.


================
Comment at: llvm/test/tools/llvm-mca/AArch64/Neoverse/V1-neon-instructions.s:22
+addp v0.8b, v0.8b, v0.8b
+and v0.8b, v0.8b, v0.8b
+bic v0.4h, #15, lsl #8
----------------
evandro wrote:
> dmgreen wrote:
> > The Neoverse-V2 version of this file has some extra instructions like addv's, aes and some dup instructions, among others.
> It has many more instructions, but SVE2 ones.  I'll add more coverage here.
Thanks - And what about the extra Neon instructions?


CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D154756/new/

https://reviews.llvm.org/D154756



More information about the llvm-commits mailing list