FDIV
Divide floating-point elements
Divide floating-point elements in the selected vector arrangement.
Similar operations on other architectures:DIVPS_mm_div_psDIVPD_mm_div_pd
| Form | Bits | Requires | Encoding |
|---|---|---|---|
FDIV Vd.4S,Vn.4S,Vm.4S | 128 | AdvSIMD + FP | — |
FDIV Vd.2D,Vn.2D,Vm.2D | 128 | AdvSIMD + FP | — |
Operation#
Pseudo-C · selected form
dst[i] = fp32_operation(a[i] / b[i], FPCR)
update FPSR status or raise a floating-point exception as requiredWhat to watch for
- FPCR supplies rounding and applicable NaN/flush-to-zero controls. NaNs, infinities, signed zeros and subnormals follow the architectural floating-point rules.
- This reference does not emulate floating-point execution or its exceptions.
Corresponding intrinsics#
float32x4_t vdivq_f32( float32x4_t a, float32x4_t b)Documented mapping
FDIV Vd.4S,Vn.4S,Vm.4S
Architectural details#
- Flags
- NZCV unchanged. FPSR floating-point status may change.
- Destination
- Writes all 128 bits of Vd.
- Encoding
- Encoding details have not been imported for this form.
- Operands
a -> Vn.4S b -> Vm.4SVdwrite · 128 bits (4 × 32) · floatVnread · 128 bits (4 × 32) · floatVmread · 128 bits (4 × 32) · float
- Coverage
- Selected FDIV Vd.4S,Vn.4S,Vm.4S 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.
Sources & provenance#
Technical fields are imported from pinned upstream files. Explanations and explorer behavior are maintained separately.
Architectural references for this form
Arm · advsimd.md
- Revision
3a8fb2b1145b27ba0a9110ed32f3a6cfdad6c002- SHA-256
722dcf758d7a6dbbab54210d55bbce73a6db7691bb4092112375bf096563fd73- Terms
- CC-BY-SA-4.0 AND Apache-Patent-License