vqrshrnh_n_s16
SIMD ISA | Return Type | Name | Arguments | Instruction Group | |
---|---|---|---|---|---|
Neon | int8_t | vqrshrnh_n_s16 | (int16_t a, const int n) | Shift / Right / Vector saturating rounding shift right and narrow | |
Description 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. Results Bd result This intrinsic compiles to the following instructions: SQRSHRN Argument Preparation a register: Hnn minimum: 1; maximum: 8 Architectures A64 Operation
|
Copyright © 1995-2025 Arm Limited (or its affiliates). All rights reserved.