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

Sjoerd Meijer via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Tue Sep 5 06:58:23 PDT 2023


SjoerdMeijer added inline comments.


================
Comment at: llvm/test/tools/llvm-mca/AArch64/Neoverse/V2-basic-instructions.s:2535
 # CHECK-NEXT:  1      2     0.50                        tst	x2, x20, asr #2
-# CHECK-NEXT:  1      1     0.17                        mov	x3, x6
-# CHECK-NEXT:  1      1     0.17                        mov	x3, xzr
-# CHECK-NEXT:  1      1     0.17                        mov	wzr, w2
-# CHECK-NEXT:  1      1     0.17                        mov	w3, w5
+# CHECK-NEXT:  1      0     0.06                        mov	x3, x6
+# CHECK-NEXT:  1      0     0.06                        mov	x3, xzr
----------------
rjj wrote:
> SjoerdMeijer wrote:
> > This MOV seems to be affected, but doesn't seem to right?
> That should be the last MOV listed on ยง4.12, `MOV Xd, Xn`.
Ah sorry, missed that. I thought they were only zeroing moves, overlooked the last two moves in that list.


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D159443



More information about the llvm-commits mailing list