You copied the Doc URL to your clipboard.

UQSHL (scalar, immediate)

Unsigned saturating Shift Left (immediate).

Syntax

UQSHL Vd, Vn, #shift

Where:

V
Is a width specifier, and can be one of the values shown in Usage.
d
Is the number of the SIMD and FP destination register.
n
Is the number of the first SIMD and FP source register.
shift
Is the left shift amount, in the range 0 to the operand width in bits minus 1, and can be one of the values shown in Usage.

Usage

Unsigned saturating Shift Left (immediate). This instruction takes each vector element in the source SIMD and FP register, shifts it by an immediate value, places the results in a vector, and writes the vector to the destination SIMD and FP register. The results are truncated. For rounded results, see UQRSHL (scalar).

If overflow occurs with any of the results, those results are saturated. If saturation occurs, the cumulative saturation bit FPSR.QC is set.

Depending on the settings in the CPACR_EL1, CPTR_EL2, and CPTR_EL3 registers, and the current Security state and Exception level, an attempt to execute the instruction might be trapped.

The following table shows the valid specifier combinations:

Table 19-32 UQSHL (Scalar) specifier combinations

V shift
B 0 to 7
H 0 to 15
S 0 to 31
D 0 to 63
Was this page helpful? Yes No