vshrn_n_s16
SIMD ISA | Return Type | Name | Arguments | Instruction Group | |
---|---|---|---|---|---|
Neon | int8x8_t | vshrn_n_s16 | (int16x8_t a, const int n) | Shift / Right / Vector shift right and narrow | |
Description Shift Right Narrow (immediate). This instruction reads each unsigned integer value from the source SIMD&FP register, right shifts each result by an immediate value, puts the final result into a vector, and writes the vector to the lower or upper half of the destination SIMD&FP register. The destination vector elements are half as long as the source vector elements. The results are truncated. For rounded results, see RSHRN. Results Vd.8B result This intrinsic compiles to the following instructions: SHRN Argument Preparation a register: Vn.8Hn minimum: 1; maximum: 8 Architectures v7, A32, A64 Operation
|
Copyright © 1995-2025 Arm Limited (or its affiliates). All rights reserved.