Method vqrshrunh_n_s16
vqrshrunh_n_s16(short, int)
Signed saturating Rounded Shift Right Unsigned Narrow (immediate). This instruction reads each signed integer value in the vector of the source SIMD&FP register, right shifts each value by an immediate value, saturates the result to an unsigned integer value that is half the original width, places the final result into a vector, and writes the vector to the destination SIMD&FP register. The results are rounded. For truncated results, see SQSHRUN.The SQRSHRUN instruction writes the vector to the lower half of the destination register and clears the upper half, while the SQRSHRUN2 instruction writes the vector to the upper half of the destination register without affecting the other bits of the register.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.
Equivalent instruction: SQRSHRUN Bd,Hn,#n
Declaration
public static byte vqrshrunh_n_s16(short a0, int a1)
Parameters
Type | Name | Description |
---|---|---|
short | a0 | Int16 a0 |
int | a1 | Int32 a1 |
Returns
Type | Description |
---|---|
byte | Byte |