Skip to content

VDUP

Operation

Broadcasts an integer scalar register or immediate value to every vector lane.

Assembler Syntax

VDUP.{B|W|L|Q}(z) Rn(r), Vn(v)

VDUP.B <imm8>, Vn(v)

VDUP.W <imm16>, Vn(v)

VDUP.L <imm32>, Vn(v)

VDUP.Q <imm64>, Vn(v)

Privilege

Unprivileged

Required CPUID flags

VECTOR

VDUP fills every selected-width destination lane with the same source value. The integer-register forms use the low B, W, L, or Q field of Rn; the immediate forms broadcast their complete encoded B, W, L, or Q value. The operation replaces the complete destination vector image.

The scalar value x from Rn is copied to every word lane of the scalable destination vector.

VDUP.W scalar broadcast

2.75in

Encodings

VDUP.{B|W|L|Q}(z) Rn(r), Vn(v)

Format: Instruction format for VDUP.{B|W|L|Q}(z) Rn(r), Vn(v)

Format: Instruction format for VDUP.{B|W|L|Q}(z) Rn(r), Vn(v)

2.75in VDUP.B <imm8>, Vn(v)

Format: Instruction format for VDUP.B <imm8>, Vn(v)

Format: Instruction format for VDUP.B <imm8>, Vn(v)

2.75in VDUP.W <imm16>, Vn(v)

Format: Instruction format for VDUP.W <imm16>, Vn(v)

Format: Instruction format for VDUP.W <imm16>, Vn(v)

2.75in VDUP.L <imm32>, Vn(v)

Format: Instruction format for VDUP.L <imm32>, Vn(v)

Format: Instruction format for VDUP.L <imm32>, Vn(v)

2.75in VDUP.Q <imm64>, Vn(v)

Format: Instruction format for VDUP.Q <imm64>, Vn(v)

Format: Instruction format for VDUP.Q <imm64>, Vn(v)