Method vqrshrnd_n_s64
vqrshrnd_n_s64(long, int)
Signed saturating Rounded Shift Right Narrow (immediate). This instruction reads each vector element in the source SIMD&FP register, right shifts each result by an immediate value, saturates each shifted result to a value that is half the original width, puts the final result into a vector, and writes the vector to the lower or upper half of the destination SIMD&FP register. All the values in this instruction are signed integer values. The destination vector elements are half as long as the source vector elements. The results are rounded. For truncated results, see SQSHRN.The SQRSHRN instruction writes the vector to the lower half of the destination register and clears the upper half, while the SQRSHRN2 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: SQRSHRN Sd,Dn,#n
Declaration
public static int vqrshrnd_n_s64(long a0, int a1)
Parameters
Type | Name | Description |
---|---|---|
long | a0 | Int64 a0 |
int | a1 | Int32 a1 |
Returns
Type | Description |
---|---|
int | Int32 |