PER ARM'S REQUEST, THIS SITE WILL BE DISCONTINUED ON 4 DECEMBER 2026. :(

Arm's lawyers have notified me to take down this site or face legal action.

To all of the fans of this site over the years (even the ones at Arm): thank you for your support! I'm glad I could provide a resource so many people found value in. I will look into solutions that can potentially keep bookmarks and links working.

— Jon

← Home

PMOV (to vector)

Move predicate to vector

This instruction copies the source SVE predicate register elements into the destination vector register as a packed bitmap with one bit per predicate element, where bit value 0b1 represents a TRUE predicate element, and bit value 0b0 represents a FALSE predicate element.

Because the number of bits in an SVE predicate element scales with the vector element size, the behavior varies according to the specified element size.

The portion index is optional, defaulting to 0 if omitted. When the index is zero, the instruction writes zeros to the most significant VL-(VL/esize) bits of the destination vector register. When a nonzero index is specified, the packed bitmap is inserted into the destination vector register, and the unindexed blocks remain unchanged.

It has encodings from 4 classes: Byte , Doubleword , Halfword and Word

Byte class

(FEAT_SVE2p1 || FEAT_SME2p1)

313029282726252423222120191817161514131211109876543210
00000101001010110011100PnZd
opcopc2

Encoding

PMOV <Zd>, <Pn>.B

Decode

if !IsFeatureImplemented(FEAT_SVE2p1) && !IsFeatureImplemented(FEAT_SME2p1) then EndOfDecode(Decode_UNDEF); end; let n : integer = UInt(Pn); let d : integer = UInt(Zd); let esize : integer{} = 8; let imm : integer = 0;

Doubleword class

(FEAT_SVE2p1 || FEAT_SME2p1)

313029282726252423222120191817161514131211109876543210
000001011i3h101i3l10011100PnZd

Encoding

PMOV <Zd>{[<imm>]}, <Pn>.D

Decode

if !IsFeatureImplemented(FEAT_SVE2p1) && !IsFeatureImplemented(FEAT_SME2p1) then EndOfDecode(Decode_UNDEF); end; let n : integer = UInt(Pn); let d : integer = UInt(Zd); let esize : integer{} = 64; let imm : integer = UInt(i3h::i3l);

Halfword class

(FEAT_SVE2p1 || FEAT_SME2p1)

313029282726252423222120191817161514131211109876543210
00000101001011i110011100PnZd
opc

Encoding

PMOV <Zd>{[<imm>]}, <Pn>.H

Decode

if !IsFeatureImplemented(FEAT_SVE2p1) && !IsFeatureImplemented(FEAT_SME2p1) then EndOfDecode(Decode_UNDEF); end; let n : integer = UInt(Pn); let d : integer = UInt(Zd); let esize : integer{} = 16; let imm : integer = UInt(i1);

Word class

(FEAT_SVE2p1 || FEAT_SME2p1)

313029282726252423222120191817161514131211109876543210
0000010101101i210011100PnZd
opc

Encoding

PMOV <Zd>{[<imm>]}, <Pn>.S

Decode

if !IsFeatureImplemented(FEAT_SVE2p1) && !IsFeatureImplemented(FEAT_SME2p1) then EndOfDecode(Decode_UNDEF); end; let n : integer = UInt(Pn); let d : integer = UInt(Zd); let esize : integer{} = 32; let imm : integer = UInt(i2);

Assembler Symbols

<Zd>

Is the name of the destination scalable vector register, encoded in the "Zd" field.

<Pn>

Is the name of the source scalable predicate register, encoded in the "Pn" field.

<imm>

For the "Doubleword" variant: is the optional portion index, in the range 0 to 7, defaulting to 0, encoded in the "i3h:i3l" fields.

For the "Halfword" variant: is the optional portion index, in the range 0 to 1, defaulting to 0, encoded in the "i1" field.

For the "Word" variant: is the optional portion index, in the range 0 to 3, defaulting to 0, encoded in the "i2" field.

Operation

CheckSVEEnabled(); let VL : integer{} = CurrentVL(); let PL : integer{} = VL DIV 8; let elements : integer = VL DIV esize; let operand : bits(PL) = P{}(n); var result : bits(VL); if imm == 0 then result = Zeros{VL}; else result = Z{VL}(d); end; for e = 0 to elements-1 do result[(elements * imm) + e] = PredicateElement{PL}(operand, e, esize); end; Z{VL}(d) = result;

Operational information

This instruction is a data-independent-time instruction as described in About PSTATE.DIT.


Version 2026.09 — Copyright © 2010-2026 Arm Limited or its affiliates.

This site is provided as a community resource and is NOT affiliated with nor endorsed by Arm Limited.