SVE Instruction List by Dougall Johnson
# UQSHL (vectors): Unsigned saturating shift left by vector (predicated)

UQSHL Zdn.S, Pg/M, Zdn.S, Zm.S (SVE2 (SME

svuint32_t svqshl[_u32]_m(svbool_t pg, svuint32_t op1, svint32_t op2)

## 128-bit SVE

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

## 256-bit SVE

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

## 512-bit SVE

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

## Larger sizes

## 1024-bit SVE

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

## 2048-bit SVE

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

Report mistakes or give feedback

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