ARM / OFFLINE REFERENCE

On this page
← Home

ZERO (tiles)

Zero a list of 64-bit element ZA tiles

This instruction zeroes all bytes within each of the up to eight listed 64-bit element tiles named ZA0.D to ZA7.D, leaving the other 64-bit element tiles unmodified.

This instruction does not require the PE to be in Streaming SVE mode, and it is expected that this instruction will not experience a significant slowdown due to contention with other PEs that are executing in Streaming SVE mode.

For programmer convenience, an assembler must also accept the names of 32-bit, 16-bit, and 8-bit element tiles that are converted into the corresponding set of 64-bit element tiles.

In accordance with the architecturally defined mapping between different element size tiles:

The preferred disassembly of this instruction uses the shortest list of tile names that represent the encoded immediate mask.

For example:

SME 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 1 0 0 0 0 0 0 0 0 0 0 0 imm8

Encoding

ZERO { {<mask>} }

Decode

if !IsFeatureImplemented(FEAT_SME) then EndOfDecode(Decode_UNDEF); end;
let mask : bits(8) = imm8;
let esize : integer{} = 64;

Assembler Symbols

<mask>

Is the optional list of up to eight 64-bit element tile names separated by commas, encoded in the "imm8" field.

Operation

CheckSMEAndZAEnabled();
let SVL : integer{} = CurrentSVL();
let dim : integer{} = SVL DIV esize;
let result : bits(dim*dim*esize) = Zeros{};

for i = 0 to 7 do
    if mask[i] == '1' then ZAtile{dim*dim*esize}(i, esize) = result; end;
end;

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.