Skip to content

VFDIV

Operation

Divides corresponding active floating-point elements.

Assembler Syntax

VFDIV.{H|S|D}(z) Pn(p), Vn(v), Vn(w)

VFDIV.{H|S|D}(z) Pn(p), <ea>(e), Vn(v)

VFDIV.{H|S|D}(z) Pn(p), Vn(v), <ea>(e)

Privilege

Unprivileged

Required CPUID flags

FP

VECTOR

VECTORFP

VFDIV divides each active H, S, or D destination element by its corresponding source element and rounds the result according to the floating-point environment. The register form and the memory-source form write the result to the destination vector lane. An inactive destination lane retains its previous value.

The memory-destination form reads each active destination element, divides it by the corresponding source-register element, and writes the result back to that memory element. Inactive memory elements retain their previous values, making the destination transaction a lane-wise read-modify-write.

2.75in

Encodings

VFDIV.{H|S|D}(z) Pn(p), Vn(v), Vn(w)

Format: Instruction format for VFDIV.{H|S|D}(z) Pn(p), Vn(v), Vn(w)

Format: Instruction format for VFDIV.{H|S|D}(z) Pn(p), Vn(v), Vn(w)

sizeallowed: 0x1..0x3 [reserved_vector_element_type]

2.75in VFDIV.{H|S|D}(z) Pn(p), <ea>(e), Vn(v)

Format: Instruction format for VFDIV.{H|S|D}(z) Pn(p), <ea>(e), Vn(v)

Format: Instruction format for VFDIV.{H|S|D}(z) Pn(p), <ea>(e), Vn(v)

sizeallowed: 0x1..0x3 [reserved_vector_element_type]

2.75in VFDIV.{H|S|D}(z) Pn(p), Vn(v), <ea>(e)

Format: Instruction format for VFDIV.{H|S|D}(z) Pn(p), Vn(v), <ea>(e)

Format: Instruction format for VFDIV.{H|S|D}(z) Pn(p), Vn(v), <ea>(e)

sizeallowed: 0x1..0x3 [reserved_vector_element_type]

dstexcluded: immediate [invalid_destination]