ARM / OFFLINE REFERENCE

On this page
← Home

MOVA (vector to tile, single)

Move Z vector to ZA tile slice

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 slice remain unmodified.

This instruction is used by the alias MOV (vector to tile, 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 0 0 V Rs Pg Zn 0 off4
size Q

Encoding

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

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(Zn);
let d : integer = 0;
let offset : integer = UInt(off4);
let esize : integer{} = 8;
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 0 0 V Rs Pg Zn 0 ZAd off3
size Q

Encoding

MOVA <ZAd><HV>.H[<Ws>, <offs>], <Pg>/M, <Zn>.H

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(Zn);
let d : integer = UInt(ZAd);
let offset : integer = UInt(off3);
let esize : integer{} = 16;
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 0 0 V Rs Pg Zn 0 ZAd off2
size Q

Encoding

MOVA <ZAd><HV>.S[<Ws>, <offs>], <Pg>/M, <Zn>.S

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(Zn);
let d : integer = UInt(ZAd);
let offset : integer = UInt(off2);
let esize : integer{} = 32;
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 0 0 V Rs Pg Zn 0 ZAd o1
size Q

Encoding

MOVA <ZAd><HV>.D[<Ws>, <offs>], <Pg>/M, <Zn>.D

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(Zn);
let d : integer = UInt(ZAd);
let offset : integer = UInt(o1);
let esize : integer{} = 64;
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 0 1 V Rs Pg Zn 0 ZAd
size Q

Encoding

MOVA <ZAd><HV>.Q[<Ws>, <offs>], <Pg>/M, <Zn>.Q

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(Zn);
let d : integer = UInt(ZAd);
let offset : integer = 0;
let esize : integer{} = 128;
let vertical : boolean = V == '1';

Assembler Symbols

<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.

<Pg>

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

<Zn>

Is the name of the source scalable vector register, encoded in the "Zn" field.

<ZAd>

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

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

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

For the "128-bit" variant: is the name of the ZA tile ZA0-ZA15 to be accessed, encoded in the "ZAd" 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 operand : bits(VL) = Z{VL}(n);
let index : bits(32) = X{32}(s);
let slice : integer = (UInt(index) + offset) MOD dim;
var result : bits(VL) = ZAslice{VL}(d, esize, vertical, slice);

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;

ZAslice{VL}(d, esize, vertical, slice) = 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.