[PATCH] D137625: [AArch64][SVE2] Add the SVE2.1 tbxq instruction

Caroline via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Tue Nov 8 05:28:01 PST 2022


CarolineConcatto added inline comments.


================
Comment at: llvm/lib/Target/AArch64/SVEInstrFormats.td:9369
+// Programmable table lookup within each quadword vector segment (merging)
+class sve2p1_tbxq<bits<2> sz, string mnemonic, ZPRRegOp zprty>
+    : I<(outs zprty:$Zd), (ins zprty:$_Zd, zprty:$Zn, zprty:$Zm),
----------------
I don't know how much should we re-use the old classes.
but with some changes you could re-use class sve2_int_perm_tbx, no?
let Inst{15-13} = 0b001; 
let Inst{12-10} = op



Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D137625



More information about the llvm-commits mailing list