SVE Instruction List by Dougall Johnson
# SQSHLR: Signed saturating shift left reversed vectors (predicated)

SQSHLR Zdn.D, Pg/M, Zdn.D, Zm.D (SVE2 (SME

## 128-bit SVE

Shift each signed 64-bit integer from (2) by the corresponding signed 64-bit integer from (1), with signed saturation to 0x7FFFFFFFFFFFFFFF or −0x8000000000000000 on overflow, setting (3) to the result. If (1) ≥ 0, this shifts left by (1), otherwise it shifts right by −(1).

## 256-bit SVE

Shift each signed 64-bit integer from (2) by the corresponding signed 64-bit integer from (1), with signed saturation to 0x7FFFFFFFFFFFFFFF or −0x8000000000000000 on overflow, setting (3) to the result. If (1) ≥ 0, this shifts left by (1), otherwise it shifts right by −(1).

## 512-bit SVE

Shift each signed 64-bit integer from (2) by the corresponding signed 64-bit integer from (1), with signed saturation to 0x7FFFFFFFFFFFFFFF or −0x8000000000000000 on overflow, setting (3) to the result. If (1) ≥ 0, this shifts left by (1), otherwise it shifts right by −(1).

## Larger sizes

## 1024-bit SVE

Shift each signed 64-bit integer from (2) by the corresponding signed 64-bit integer from (1), with signed saturation to 0x7FFFFFFFFFFFFFFF or −0x8000000000000000 on overflow, setting (3) to the result. If (1) ≥ 0, this shifts left by (1), otherwise it shifts right by −(1).

## 2048-bit SVE

Shift each signed 64-bit integer from (2) by the corresponding signed 64-bit integer from (1), with signed saturation to 0x7FFFFFFFFFFFFFFF or −0x8000000000000000 on overflow, setting (3) to the result. If (1) ≥ 0, this shifts left by (1), otherwise it shifts right by −(1).

Report mistakes or give feedback

Inspired by and based on the x86/x64 SIMD Instruction List by Daytime.