Move vector register to ZA tile slice
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 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
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<1> | size<0> | Q |
if !IsFeatureImplemented(FEAT_SME) then UNDEFINED; constant integer g = UInt(Pg); constant integer s = UInt('011':Rs); constant integer n = UInt(Zn); constant integer d = 0; constant integer offset = UInt(off4); constant integer esize = 8; constant 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 | 0 | 0 | V | Rs | Pg | Zn | 0 | ZAd | off3 | |||||||||
size<1> | size<0> | Q |
if !IsFeatureImplemented(FEAT_SME) then UNDEFINED; constant integer g = UInt(Pg); constant integer s = UInt('011':Rs); constant integer n = UInt(Zn); constant integer d = UInt(ZAd); constant integer offset = UInt(off3); constant integer esize = 16; constant 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 | 0 | 0 | V | Rs | Pg | Zn | 0 | ZAd | off2 | |||||||||
size<1> | size<0> | Q |
if !IsFeatureImplemented(FEAT_SME) then UNDEFINED; constant integer g = UInt(Pg); constant integer s = UInt('011':Rs); constant integer n = UInt(Zn); constant integer d = UInt(ZAd); constant integer offset = UInt(off2); constant integer esize = 32; constant 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 | 0 | 0 | V | Rs | Pg | Zn | 0 | ZAd | o1 | |||||||||
size<1> | size<0> | Q |
if !IsFeatureImplemented(FEAT_SME) then UNDEFINED; constant integer g = UInt(Pg); constant integer s = UInt('011':Rs); constant integer n = UInt(Zn); constant integer d = UInt(ZAd); constant integer offset = UInt(o1); constant integer esize = 64; constant 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 | 0 | 1 | V | Rs | Pg | Zn | 0 | ZAd | ||||||||||
size<1> | size<0> | Q |
if !IsFeatureImplemented(FEAT_SME) then UNDEFINED; constant integer g = UInt(Pg); constant integer s = UInt('011':Rs); constant integer n = UInt(Zn); constant integer d = UInt(ZAd); constant integer offset = 0; constant integer esize = 128; constant boolean vertical = V == '1';
<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. |
<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. |
CheckStreamingSVEAndZAEnabled(); constant integer VL = CurrentVL; constant integer PL = VL DIV 8; constant integer dim = VL DIV esize; constant bits(PL) mask = P[g, PL]; constant bits(VL) operand = Z[n, VL]; constant bits(32) index = X[s, 32]; constant integer slice = (UInt(index) + offset) MOD dim; constant bits(VL) result = ZAslice[d, esize, vertical, slice, VL]; for e = 0 to dim-1 constant bits(esize) element = Elem[operand, e, esize]; if ActivePredicateElement(mask, e, esize) then Elem[result, e, esize] = element; ZAslice[d, esize, vertical, slice, VL] = result;
If PSTATE.DIT is 1:
Internal version only: aarchmrs v2024-03_relA, pseudocode v2024-03_rel, sve v2024-03_rel ; Build timestamp: 2024-03-26T09:45
Copyright © 2010-2024 Arm Limited or its affiliates. All rights reserved. This document is Non-Confidential.