zero
Zero Matrix Tile
Zero a list of 64-bit element tiles.
Pseudocode Operation
No pseudocode available.
Encoding
Operands
-
mask
Tile Mask
Related
More in SME
Reference
Instruction Forms
| Encoding | Instruction | ISA | Bit pattern | ||
|---|---|---|---|---|---|
| 0xC00C0000 | ZERO ZA.D[<Wv>, <offs>, VGx2] | A64 | 11 | 000000000011 | 00 | 0 | Rv | 000 | 000000 | 0 | off3 | ||
| 0xC00E0000 | ZERO ZA.D[<Wv>, <offs>, VGx4] | A64 | 11 | 000000000011 | 10 | 0 | Rv | 000 | 000000 | 0 | off3 | ||
| 0xC00C8000 | ZERO ZA.D[<Wv>, <offs1>:<offs2>] | A64 | 11 | 000000000011 | 00 | 1 | Rv | 000 | 000000 | 0 | off3 | ||
| 0xC00D0000 | ZERO ZA.D[<Wv>, <offs1>:<offs2>, VGx2] | A64 | 11 | 0000000000 | 11 | 01 | 0 | Rv | 000 | 000000 | 0 | 0 | off2 | ||
| 0xC00D8000 | ZERO ZA.D[<Wv>, <offs1>:<offs2>, VGx4] | A64 | 11 | 0000000000 | 11 | 01 | 1 | Rv | 000 | 000000 | 0 | 0 | off2 | ||
| 0xC00E8000 | ZERO ZA.D[<Wv>, <offs1>:<offs4>] | A64 | 11 | 0000000000 | 11 | 10 | 1 | Rv | 000 | 000000 | 0 | 0 | off2 | ||
| 0xC00F0000 | ZERO ZA.D[<Wv>, <offs1>:<offs4>, VGx2] | A64 | 11 | 0000000000 | 11 | 11 | 0 | Rv | 000 | 000000 | 0 | 0 | 0 | o1 | ||
| 0xC00F8000 | ZERO ZA.D[<Wv>, <offs1>:<offs4>, VGx4] | A64 | 11 | 0000000000 | 11 | 11 | 1 | Rv | 000 | 000000 | 0 | 0 | 0 | o1 | ||
| 0xC0080000 | ZERO { <mask> } | A64 | 1100000000001000000000 | 00 | imm8 | ||
| 0xC0480001 | ZERO { ZT0 } | A64 | 11 | 0000000100 | 1000000000 | 000000 | 0 | 0 | 0 | 1 |
Description
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 which 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:
Operation
CheckSMEAndZAEnabled();
constant integer SVL = CurrentSVL;
constant integer dim = SVL DIV esize;
bits(dim*dim*esize) result = Zeros(dim*dim*esize);
if HaveTME() && TSTATE.depth > 0 then
FailTransaction(TMFailure_ERR, FALSE);
for i = 0 to 7
if mask<i> == '1' then ZAtile[i, esize, dim*dim*esize] = result;