[PATCH] D137619: [AArch64][SVE2] Add the SVE2.1 permute vector elements (quadword) instructions
Caroline via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Tue Nov 8 06:06:42 PST 2022
CarolineConcatto added inline comments.
================
Comment at: llvm/lib/Target/AArch64/SVEInstrFormats.td:9289
+// SVE permute vector elements (quadwords)
+class sve2p1_permute_vec_elems_q<bits<2> sz, bits<3> opc, string mnemonic,
+ ZPRRegOp zpr_ty, RegisterOperand src1_ty>
----------------
You could re-use class sve2_clamp
and then change:
let Inst{15-11} = 0b11000;
let Inst{10} = U;
to be:
let Inst{15-13} = 0b11;
let Inst{13-10} = op;
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D137619/new/
https://reviews.llvm.org/D137619
More information about the llvm-commits
mailing list