SVE Instruction List by Dougall Johnson
SRSHR: Signed rounding shift right by immediate
SRSHR Zdn.S, Pg/M, Zdn.S, #const (SVE2 (SME
svint32_t svrshr[_n_s32]_m(svbool_t pg, svint32_t op1, uint64_t imm2)
128-bit SVE
For each 32-bit signed integer set (2) to ( (1) + ( 1 << ( const − 1 ) ) >> const. This is the same as a regular shift, but with result incremented if the most-significant bit that was shifted out was set. The shift amount is limited to 1 ≤ const ≤ 32.
256-bit SVE
For each 32-bit signed integer set (2) to ( (1) + ( 1 << ( const − 1 ) ) >> const. This is the same as a regular shift, but with result incremented if the most-significant bit that was shifted out was set. The shift amount is limited to 1 ≤ const ≤ 32.
512-bit SVE
For each 32-bit signed integer set (2) to ( (1) + ( 1 << ( const − 1 ) ) >> const. This is the same as a regular shift, but with result incremented if the most-significant bit that was shifted out was set. The shift amount is limited to 1 ≤ const ≤ 32.
Larger sizes
1024-bit SVE
For each 32-bit signed integer set (2) to ( (1) + ( 1 << ( const − 1 ) ) >> const. This is the same as a regular shift, but with result incremented if the most-significant bit that was shifted out was set. The shift amount is limited to 1 ≤ const ≤ 32.
2048-bit SVE
For each 32-bit signed integer set (2) to ( (1) + ( 1 << ( const − 1 ) ) >> const. This is the same as a regular shift, but with result incremented if the most-significant bit that was shifted out was set. The shift amount is limited to 1 ≤ const ≤ 32.
Report mistakes or give feedback
Inspired by and based on the x86/x64 SIMD Instruction List by Daytime.