[llvm-branch-commits] [clang] [llvm] [AArch64][llvm] Armv9.7-A: Add support for SVE2p3 arithmetic operations (PR #163160)
via llvm-branch-commits
llvm-branch-commits at lists.llvm.org
Thu Oct 16 08:14:30 PDT 2025
================
@@ -4615,6 +4615,24 @@ let Predicates = [HasSVE2p2_or_SME2p2] in {
defm REVD_ZPzZ : sve_int_perm_rev_revd_z<"revd", AArch64revd_mt>;
} // End HasSME2p2orSVE2p2
+
+//===----------------------------------------------------------------------===//
+// SME2.3 or SVE2.3 instructions
+//===----------------------------------------------------------------------===//
+let Predicates = [HasSVE2p3_or_SME2p3] in {
+ // SVE2 Add pairwise within quadword vector segments (unpredicated)
+ defm ADDQP_ZZZ : sve2_int_mul<0b110, "addqp", null_frag>;
+
+ // SVE2 Add subtract/subtract pairwise
+ defm ADDSUBP_ZZZ : sve2_int_mul<0b111, "addsubp", null_frag>;
+ defm SUBP_ZPmZ : sve2_int_arith_pred<0b100001, "subp", null_frag>;
----------------
CarolineConcatto wrote:
s/SUBP_ZPmZ/SUBP_ZPmZZ/g
https://github.com/llvm/llvm-project/pull/163160
More information about the llvm-branch-commits
mailing list