SHL
Shift 16-bit elements left
Shift each 16-bit element left, filling the vacated low bits with zeros.
Similar operations on x86-64:PSLLW_mm_slli_epi16
| Form | Bits | Requires | Encoding |
|---|---|---|---|
SHL Vd.8H,Vn.8H,#n | 128 | AdvSIMD | — |
Explore the operation
The interactive explorer is loading. The operation and reference details are available below.
Operation#
dst[i] = (a[i] << count) & 0xffffWhat to watch for
- The immediate count for this form is 0–15.
- Bits shifted out are discarded.
Corresponding intrinsics#
Architectural details#
- Flags
- NZCV unchanged.
- Destination
- Writes all 128 bits of the selected V destination register.
- Encoding
- Encoding details have not been imported for this form.
- Operands
a -> Vn.8H 0 <= n <= 15Vdwrite · 128 bits (8 × 16) · unsignedaread · 128 bits (8 × 16) · unsignednread · unsigned
- Coverage
- Selected 128-bit AArch64 AdvSIMD (Neon) forms from ACLE. Scalar, other element arrangements, SVE, and SME forms are outside this sample.
- Shift count
- 0 to 15.
Exception information & execution requirements
Complete exception conditions have not been imported.
Availability depends on execution-level controls for AdvSIMD. This ACLE import does not contain an exhaustive architectural exception list.
Feature availability alone does not guarantee execution: OS state and execution-level controls also apply. Use the linked architecture documentation for the full exception conditions.
Sources & provenance#
Technical fields are imported from pinned upstream files. Explanations and explorer behavior are maintained separately.
Arm · advsimd.md
- Revision
3a8fb2b1145b27ba0a9110ed32f3a6cfdad6c002- SHA-256
722dcf758d7a6dbbab54210d55bbce73a6db7691bb4092112375bf096563fd73- Terms
- CC-BY-SA-4.0 AND Apache-Patent-License