MOVAZ (tile to vector, two registers)

Move and zero ZA two-slice operand to Z two-vector operand

This instruction operates on a horizontal or vertical ZA two-slice operand within a ZA tile of the specified element size. The tile slices are zeroed after moving their contents to the destination vectors.

The first slice of the two-slice operand is selected by rounding down the sum of the slice index register and the immediate offset to the nearest lower multiple of 2, modulo the number of slices in the tile.

The immediate offset is a multiple of 2 in the range 0 to the number of elements in a 128-bit vector segment minus 2.

This instruction is unpredicated.

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

8-bit
(FEAT_SME2p1)

313029282726252423222120191817161514131211109876543210
1100000000000110VRs00010off3Zd0
size

Encoding

MOVAZ { <Zd1>.B-<Zd2>.B }, ZA0<HV>.B[<Ws>, <offs1>:<offs2>]

Decode for this encoding

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

16-bit
(FEAT_SME2p1)

313029282726252423222120191817161514131211109876543210
1100000001000110VRs00010ZAnoff2Zd0
size

Encoding

MOVAZ { <Zd1>.H-<Zd2>.H }, <ZAn><HV>.H[<Ws>, <offs1>:<offs2>]

Decode for this encoding

if !IsFeatureImplemented(FEAT_SME2p1) then EndOfDecode(Decode_UNDEF); end; let s : integer = UInt('011'::Rs); let nreg : integer{} = 2; let esize : integer{} = 16; let d : integer = UInt(Zd::'0'); let n : integer = UInt(ZAn); let offset : integer = UInt(off2::'0'); let vertical : boolean = V == '1';

32-bit
(FEAT_SME2p1)

313029282726252423222120191817161514131211109876543210
1100000010000110VRs00010ZAno1Zd0
size

Encoding

MOVAZ { <Zd1>.S-<Zd2>.S }, <ZAn><HV>.S[<Ws>, <offs1>:<offs2>]

Decode for this encoding

if !IsFeatureImplemented(FEAT_SME2p1) then EndOfDecode(Decode_UNDEF); end; let s : integer = UInt('011'::Rs); let nreg : integer{} = 2; let esize : integer{} = 32; let d : integer = UInt(Zd::'0'); let n : integer = UInt(ZAn); let offset : integer = UInt(o1::'0'); let vertical : boolean = V == '1';

64-bit
(FEAT_SME2p1)

313029282726252423222120191817161514131211109876543210
1100000011000110VRs00010ZAnZd0
size

Encoding

MOVAZ { <Zd1>.D-<Zd2>.D }, <ZAn><HV>.D[<Ws>, <offs1>:<offs2>]

Decode for this encoding

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

Assembler Symbols

<Zd1>

Is the name of the first scalable vector register of the destination multi-vector group, encoded as "Zd" times 2.

<Zd2>

Is the name of the second scalable vector register of the destination multi-vector group, encoded as "Zd" times 2 plus 1.

<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 in the "Rs" field.

<offs1>

For the "8-bit" variant: is the first slice index offset, encoded as "off3" field times 2.

For the "16-bit" variant: is the first slice index offset, encoded as "off2" field times 2.

For the "32-bit" variant: is the first slice index offset, encoded as "o1" field times 2.

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

<offs2>

For the "8-bit" variant: is the second slice index offset, encoded as "off3" field times 2 plus 1.

For the "16-bit" variant: is the second slice index offset, encoded as "off2" field times 2 plus 1.

For the "32-bit" variant: is the second slice index offset, encoded as "o1" field times 2 plus 1.

For the "64-bit" variant: is the second slice index offset, with implicit value 1.

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

Operation

CheckStreamingSVEAndZAEnabled(); let VL : integer{} = CurrentVL(); if nreg == 4 && esize == 64 && VL < 256 then EndOfDecode(Decode_UNDEF); end; let slices : integer = VL DIV esize; let index : bits(32) = X{}(s); let slice : integer = ((UInt(index) - (UInt(index) MOD nreg)) + offset) MOD slices; for r = 0 to nreg-1 do let result : bits(VL) = ZAslice{}(n, esize, vertical, slice + r); ZAslice{VL}(n, esize, vertical, slice + r) = Zeros{VL}; Z{VL}(d + r) = result; end;

Operational information

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


2026-03_rel 2026-03-26 20:48:11

Copyright © 2010-2026 Arm Limited or its affiliates. All rights reserved. This document is Non-Confidential.