MUL

Multiply integer elements

Multiply integer elements in the selected vector arrangement.

AdvSIMD16-bit unsigned elements

Similar operations on other architectures:PMULLW_mm_mullo_epi16PMULLD_mm_mullo_epi32

Instruction forms

2 in this sample
FormBitsRequiresEncoding
MUL Vd.8H,Vn.8H,Vm.8H128AdvSIMD—
MUL Vd.4S,Vn.4S,Vm.4S128AdvSIMD—
128 bits · 8 × 16-bit elements

Operation

Pseudo-C · selected form
dst[i] = (a[i] * b[i]) mod 2^16

Simplified pseudocode for the selected form.

What to watch for

  • Integer element operations are independent; there is no carry propagation between lanes.

Corresponding intrinsics

C / C++ · selected form
uint16x8_t vmulq_u16( uint16x8_t a, uint16x8_t b)
#include <arm_neon.h>AdvSIMD

AArch64 mapping documented by ACLE; compiler output depends on optimization and context.

Documented mapping

MUL Vd.8H,Vn.8H,Vm.8H

Architectural details

Flags
NZCV unchanged.
Destination
Writes all 128 bits of Vd.
Encoding
Encoding details have not been imported for this form.
Operands
a -> Vn.8H b -> Vm.8H
  • Vdwrite · 128 bits (8 × 16) · unsigned
  • Vnread · 128 bits (8 × 16) · unsigned
  • Vmread · 128 bits (8 × 16) · unsigned
Coverage
Selected MUL Vd.8H,Vn.8H,Vm.8H arrangement.
Exception information & execution requirements

    Complete exception conditions have not been imported.

    AdvSIMD/FP access can be trapped by execution-level controls. The ACLE source does not provide an exhaustive exception model.

    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.

    Performance measurements are not included in this preview. Latency and throughput depend on the exact form and microarchitecture.

    Sources & provenance

    Technical fields are imported from pinned upstream files. Explanations and explorer behavior are maintained separately.

    Architectural references for this form

    These references support the original explanation. Arm MRS supplies encoding patterns (bit 31 first; x means variable) and architectural conditions, but omits execution pseudocode. ACLE supplies intrinsic mappings. Operand restrictions apply separately.

    Arm · advsimd.md
    Revision
    3a8fb2b1145b27ba0a9110ed32f3a6cfdad6c002
    SHA-256
    722dcf758d7a6dbbab54210d55bbce73a6db7691bb4092112375bf096563fd73
    Terms
    CC-BY-SA-4.0 AND Apache-Patent-License
    View pinned upstream file ↗

    Intel sources are a documentation preview. Arm ACLE mappings are adapted under CC BY-SA 4.0 with an additional patent license. Arm MRS encoding data is distributed under BSD-3-Clause. © Arm Limited and contributors. Coverage and attribution.