[clang] [llvm] [clang][AArch64][SVE2p3][SME2p3] Add intrinsics for v9.7a shift operations (PR #186087)

via cfe-commits cfe-commits at lists.llvm.org
Tue Mar 17 04:40:53 PDT 2026


================
@@ -2221,6 +2221,15 @@ let SVETargetGuard = "sve2p1|sme2", SMETargetGuard = "sve2p1|sme2" in {
   def SVSQRSHRUN_X2 : SInst<"svqrshrun[_n]_{0}[_{d}_x2]", "e2i", "i", MergeNone, "aarch64_sve_sqrshrun_x2", [VerifyRuntimeMode], [ImmCheck<1, ImmCheck1_16>]>;
 }
 
+//
+// Multi-vector saturating rounding shift right narrow and interleave
+//
+let SVETargetGuard = "sve2p3", SMETargetGuard = "sme2p3" in {
----------------
CarolineConcatto wrote:

Replace:
let SVETargetGuard = "sve2p3", SMETargetGuard = "sme2p3" in {
by 
let SVETargetGuard = "sve2p1|sme2", SMETargetGuard = "sve2p1|sme2" in {
As we see for sve2p1 instructions, as they have the same pseudo code
https://developer.arm.com/documentation/ddi0602/2025-09/SVE-Instructions/SQRSHRN--Signed-saturating-rounding-shift-right-narrow-by-immediate-to-interleaved-integer-?lang=en

https://github.com/llvm/llvm-project/pull/186087


More information about the cfe-commits mailing list