Method vqshlq_n_s16
vqshlq_n_s16(v128, int)
Signed saturating Shift Left (immediate). This instruction reads each vector element in the source SIMD&FP register, shifts each result by an immediate value, places the final result in a vector, and writes the vector to the destination SIMD&FP register. The results are truncated. For rounded results, see UQRSHL.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.
Equivalent instruction: SQSHL Vd.8H,Vn.8H,#n
Declaration
public static v128 vqshlq_n_s16(v128 a0, int a1)
Parameters
Type | Name | Description |
---|---|---|
v128 | a0 | 128-bit vector a0 |
int | a1 | Int32 a1 |
Returns
Type | Description |
---|---|
v128 | 128-bit vector |