Move ZA tile slice to vector register
The 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 an immediate, modulo the number of such elements in a Streaming SVE vector. The immediate 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).
It has encodings from 5 classes: 8-bit , 16-bit , 32-bit , 64-bit and 128-bit
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 | imm4 | Zd | ||||||||||
size<1> | size<0> | Q |
if !HaveSME() then UNDEFINED; integer g = UInt(Pg); integer s = UInt('011':Rs); integer n = 0; integer imm = UInt(imm4); integer esize = 8; integer d = UInt(Zd); boolean vertical = V == '1';
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 | imm3 | Zd | |||||||||
size<1> | size<0> | Q |
if !HaveSME() then UNDEFINED; integer g = UInt(Pg); integer s = UInt('011':Rs); integer n = UInt(ZAn); integer imm = UInt(imm3); integer esize = 16; integer d = UInt(Zd); boolean vertical = V == '1';
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 | imm2 | Zd | |||||||||
size<1> | size<0> | Q |
if !HaveSME() then UNDEFINED; integer g = UInt(Pg); integer s = UInt('011':Rs); integer n = UInt(ZAn); integer imm = UInt(imm2); integer esize = 32; integer d = UInt(Zd); boolean vertical = V == '1';
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 | i1 | Zd | |||||||||
size<1> | size<0> | Q |
if !HaveSME() then UNDEFINED; integer g = UInt(Pg); integer s = UInt('011':Rs); integer n = UInt(ZAn); integer imm = UInt(i1); integer esize = 64; integer d = UInt(Zd); boolean vertical = V == '1';
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<1> | size<0> | Q |
if !HaveSME() then UNDEFINED; integer g = UInt(Pg); integer s = UInt('011':Rs); integer n = UInt(ZAn); integer imm = 0; integer esize = 128; integer d = UInt(Zd); boolean vertical = V == '1';
<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
|
<Ws> |
Is the 32-bit name of the slice index register W12-W15, encoded in the "Rs" field. |
CheckStreamingSVEAndZAEnabled(); integer dim = VL DIV esize; bits(PL) mask = P[g]; bits(32) index = X[s]; integer slice = (UInt(index) + imm) MOD dim; bits(VL) operand = ZAslice[n, esize, vertical, slice]; bits(VL) result = Z[d]; for e = 0 to dim-1 bits(esize) element = Elem[operand, e, esize]; if ElemP[mask, e, esize] == '1' then Elem[result, e, esize] = element; Z[d] = result;
If FEAT_SVE2 is enabled or FEAT_SME is enabled, then when PSTATE.DIT is 1:
Internal version only: isa v33.11seprel, AdvSIMD v29.05, pseudocode v2021-09_rel, sve v2021-09_rc3d ; Build timestamp: 2021-10-06T11:41
Copyright © 2010-2021 Arm Limited or its affiliates. All rights reserved. This document is Non-Confidential.