Skip to content

VFEXTRACT

Operation

Copies one indexed floating-point vector lane to a floating-point scalar register.

Assembler Syntax

VFEXTRACT.{H|S|D}(z) Vn(v), Rn(r), Fn(s)

Privilege

Unprivileged

Required CPUID flags

FP

VECTOR

VECTORFP

VFEXTRACT interprets the scalar index as unsigned and selects that lane from Vn. The H, S, and D forms copy the selected floating-point value to Fn and leave FFLAGS unchanged.

An index at or above the selected vector element count raises VECTOR_LANE_INDEX_OUT_OF_RANGE. The faulting instruction commits no scalar result.

2.75in

Encodings

VFEXTRACT.{H|S|D}(z) Vn(v), Rn(r), Fn(s)

Format: Instruction format for VFEXTRACT.{H|S|D}(z) Vn(v), Rn(r), Fn(s)

Format: Instruction format for VFEXTRACT.{H|S|D}(z) Vn(v), Rn(r), Fn(s)

sizeallowed: 0x1..0x3 [reserved_vector_element_type]