ARM / OFFLINE REFERENCE

On this page
← Home

MOVA (tile to vector, single)

Move ZA tile slice to Z vector

This instruction operates on individual horizontal or vertical slices within a named ZA tile of the specified element size. The slice number within the tile is selected by the sum of the slice index register and immediate offset, modulo the number of such elements in a vector. The immediate offset is in the range 0 to the number of elements in a 128-bit vector segment minus 1.

Inactive elements in the destination vector remain unmodified.

This instruction is used by the alias MOV (tile to vector, single).

It has encodings from 5 classes: 8-bit , 16-bit , 32-bit , 64-bit and 128-bit

8-bit class
(FEAT_SME)

31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
1 1 0 0 0 0 0 0 0 0 0 0 0 0 1 0 V Rs Pg 0 off4 Zd
size Q

Encoding

MOVA <Zd>.B, <Pg>/M, ZA0<HV>.B[<Ws>, <offs>]

Decode

if !IsFeatureImplemented(FEAT_SME) then EndOfDecode(Decode_UNDEF); end;
let g : integer = UInt(Pg);
let s : integer = UInt('011'::Rs);
let n : integer = 0;
let offset : integer = UInt(off4);
let esize : integer{} = 8;
let d : integer = UInt(Zd);
let vertical : boolean = V == '1';

16-bit class
(FEAT_SME)

31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
1 1 0 0 0 0 0 0 0 1 0 0 0 0 1 0 V Rs Pg 0 ZAn off3 Zd
size Q

Encoding

MOVA <Zd>.H, <Pg>/M, <ZAn><HV>.H[<Ws>, <offs>]

Decode

if !IsFeatureImplemented(FEAT_SME) then EndOfDecode(Decode_UNDEF); end;
let g : integer = UInt(Pg);
let s : integer = UInt('011'::Rs);
let n : integer = UInt(ZAn);
let offset : integer = UInt(off3);
let esize : integer{} = 16;
let d : integer = UInt(Zd);
let vertical : boolean = V == '1';

32-bit class
(FEAT_SME)

31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
1 1 0 0 0 0 0 0 1 0 0 0 0 0 1 0 V Rs Pg 0 ZAn off2 Zd
size Q

Encoding

MOVA <Zd>.S, <Pg>/M, <ZAn><HV>.S[<Ws>, <offs>]

Decode

if !IsFeatureImplemented(FEAT_SME) then EndOfDecode(Decode_UNDEF); end;
let g : integer = UInt(Pg);
let s : integer = UInt('011'::Rs);
let n : integer = UInt(ZAn);
let offset : integer = UInt(off2);
let esize : integer{} = 32;
let d : integer = UInt(Zd);
let vertical : boolean = V == '1';

64-bit class
(FEAT_SME)

31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
1 1 0 0 0 0 0 0 1 1 0 0 0 0 1 0 V Rs Pg 0 ZAn o1 Zd
size Q

Encoding

MOVA <Zd>.D, <Pg>/M, <ZAn><HV>.D[<Ws>, <offs>]

Decode

if !IsFeatureImplemented(FEAT_SME) then EndOfDecode(Decode_UNDEF); end;
let g : integer = UInt(Pg);
let s : integer = UInt('011'::Rs);
let n : integer = UInt(ZAn);
let offset : integer = UInt(o1);
let esize : integer{} = 64;
let d : integer = UInt(Zd);
let vertical : boolean = V == '1';

128-bit class
(FEAT_SME)

31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
1 1 0 0 0 0 0 0 1 1 0 0 0 0 1 1 V Rs Pg 0 ZAn Zd
size Q

Encoding

MOVA <Zd>.Q, <Pg>/M, <ZAn><HV>.Q[<Ws>, <offs>]

Decode

if !IsFeatureImplemented(FEAT_SME) then EndOfDecode(Decode_UNDEF); end;
let g : integer = UInt(Pg);
let s : integer = UInt('011'::Rs);
let n : integer = UInt(ZAn);
let offset : integer = 0;
let esize : integer{} = 128;
let d : integer = UInt(Zd);
let vertical : boolean = V == '1';

Assembler Symbols

<Zd>

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

<Pg>

Is the name of the governing scalable predicate register P0-P7, encoded in the "Pg" field.

<HV>

Is the horizontal or vertical slice indicator, encoded in V:

V <HV>
0 H
1 V
<Ws>

Is the 32-bit name of the slice index register W12-W15, encoded as "Rs" plus 12.

<offs>

For the "8-bit" variant: is the slice index offset, in the range 0 to 15, encoded in the "off4" field.

For the "16-bit" variant: is the slice index offset, in the range 0 to 7, encoded in the "off3" field.

For the "32-bit" variant: is the slice index offset, in the range 0 to 3, encoded in the "off2" field.

For the "64-bit" variant: is the slice index offset, in the range 0 to 1, encoded in the "o1" field.

For the "128-bit" variant: is the slice index offset, with implicit value 0.

<ZAn>

For the "16-bit" variant: is the name of the ZA tile ZA0-ZA1 to be accessed, encoded in the "ZAn" field.

For the "32-bit" variant: is the name of the ZA tile ZA0-ZA3 to be accessed, encoded in the "ZAn" field.

For the "64-bit" variant: is the name of the ZA tile ZA0-ZA7 to be accessed, encoded in the "ZAn" field.

For the "128-bit" variant: is the name of the ZA tile ZA0-ZA15 to be accessed, encoded in the "ZAn" field.

Operation

CheckStreamingSVEAndZAEnabled();
let VL : integer{} = CurrentVL();
let PL : integer{} = VL DIV 8;
let dim : integer = VL DIV esize;
let mask : bits(PL) = P{PL}(g);
let index : bits(32) = X{32}(s);
let slice : integer = (UInt(index) + offset) MOD dim;
let operand : bits(VL) = ZAslice{VL}(n, esize, vertical, slice);
var result : bits(VL) = Z{VL}(d);

for e = 0 to dim-1 do
    let element : bits(esize) = operand[e*:esize];
    if ActivePredicateElement{PL}(mask, e, esize) then
        result[e*:esize] = element;
    end;
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.