MOVAZ (tile to vector, single) Move and zero ZA tile slice to vector register The instruction operates on a horizontal or vertical slice within a named ZA tile of the specified element size. The tile slice is zeroed after moving its contents to the destination vector. 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. This instruction is unpredicated. Green False True SM_1_only It has encodings from 5 classes: 8-bit , 16-bit , 32-bit , 64-bit and 128-bit 1 1 0 0 0 0 0 0 0 0 0 0 0 0 1 0 0 0 0 1 MOVAZ <Zd>.B, ZA0<HV>.B[<Ws>, <offs>] if !IsFeatureImplemented(FEAT_SME2p1) then UNDEFINED; constant integer s = UInt('011':Rs); constant integer n = 0; constant integer offset = UInt(off4); constant integer esize = 8; constant integer d = UInt(Zd); constant boolean vertical = V == '1'; 1 1 0 0 0 0 0 0 0 1 0 0 0 0 1 0 0 0 0 1 MOVAZ <Zd>.H, <ZAn><HV>.H[<Ws>, <offs>] if !IsFeatureImplemented(FEAT_SME2p1) then UNDEFINED; constant integer s = UInt('011':Rs); constant integer n = UInt(ZAn); constant integer offset = UInt(off3); constant integer esize = 16; constant integer d = UInt(Zd); constant boolean vertical = V == '1'; 1 1 0 0 0 0 0 0 1 0 0 0 0 0 1 0 0 0 0 1 MOVAZ <Zd>.S, <ZAn><HV>.S[<Ws>, <offs>] if !IsFeatureImplemented(FEAT_SME2p1) then UNDEFINED; constant integer s = UInt('011':Rs); constant integer n = UInt(ZAn); constant integer offset = UInt(off2); constant integer esize = 32; constant integer d = UInt(Zd); constant boolean vertical = V == '1'; 1 1 0 0 0 0 0 0 1 1 0 0 0 0 1 0 0 0 0 1 MOVAZ <Zd>.D, <ZAn><HV>.D[<Ws>, <offs>] if !IsFeatureImplemented(FEAT_SME2p1) then UNDEFINED; constant integer s = UInt('011':Rs); constant integer n = UInt(ZAn); constant integer offset = UInt(o1); constant integer esize = 64; constant integer d = UInt(Zd); constant boolean vertical = V == '1'; 1 1 0 0 0 0 0 0 1 1 0 0 0 0 1 1 0 0 0 1 MOVAZ <Zd>.Q, <ZAn><HV>.Q[<Ws>, <offs>] if !IsFeatureImplemented(FEAT_SME2p1) then UNDEFINED; constant integer s = UInt('011':Rs); constant integer n = UInt(ZAn); constant integer offset = 0; constant integer esize = 128; constant integer d = UInt(Zd); constant boolean vertical = V == '1'; <Zd> Is the name of the destination scalable vector register, encoded in the "Zd" field. <ZAn> For the 16-bit variant: is the name of the ZA tile ZA0-ZA1 to be accessed, encoded in the "ZAn" field. <ZAn> For the 32-bit variant: is the name of the ZA tile ZA0-ZA3 to be accessed, encoded in the "ZAn" field. <ZAn> For the 64-bit variant: is the name of the ZA tile ZA0-ZA7 to be accessed, encoded in the "ZAn" field. <ZAn> For the 128-bit variant: is the name of the ZA tile ZA0-ZA15 to be accessed, encoded in the "ZAn" field. <HV> Is the horizontal or vertical slice indicator, V <HV> 0 H 1 V
<Ws> Is the 32-bit name of the slice index register W12-W15, encoded in the "Rs" field. <offs> For the 8-bit variant: is the slice index offset, in the range 0 to 15, encoded in the "off4" field. <offs> For the 16-bit variant: is the slice index offset, in the range 0 to 7, encoded in the "off3" field. <offs> For the 32-bit variant: is the slice index offset, in the range 0 to 3, encoded in the "off2" field. <offs> For the 64-bit variant: is the slice index offset, in the range 0 to 1, encoded in the "o1" field. <offs> For the 128-bit variant: is the slice index offset, with implicit value 0.
CheckStreamingSVEAndZAEnabled(); constant integer VL = CurrentVL; constant integer PL = VL DIV 8; constant integer dim = VL DIV esize; constant bits(32) index = X[s, 32]; constant integer slice = (UInt(index) + offset) MOD dim; constant bits(VL) operand = ZAslice[n, esize, vertical, slice, VL]; ZAslice[n, esize, vertical, slice, VL] = Zeros(VL); Z[d, VL] = operand;