SVE Instructions
193 ARM instructions in this extension - showing 93 per page, page 2 of 2 - click any row for encoding, pseudocode, and full documentation.
| Mnemonic | Syntax | Format | Summary |
|---|---|---|---|
| ld3w | LD3W { <Zt1>.S, <Zt2>.S, <Zt3>.S }, <Pg>/Z, [<Xn|SP>{, #<imm>, MUL VL}] | SVE | Load 3-element Structure (Word) |
| ld4d | LD4D { <Zt1>.D, <Zt2>.D, <Zt3>.D, <Zt4>.D }, <Pg>/Z, [<Xn|SP>{, #<imm>, MUL VL}] | SVE | Load 4-element Structure (Double) |
| ld4h | LD4H { <Zt1>.H, <Zt2>.H, <Zt3>.H, <Zt4>.H }, <Pg>/Z, [<Xn|SP>{, #<imm>, MUL VL}] | SVE | Load 4-element Structure (Half) |
| ld4w | LD4W { <Zt1>.S, <Zt2>.S, <Zt3>.S, <Zt4>.S }, <Pg>/Z, [<Xn|SP>{, #<imm>, MUL VL}] | SVE | Load 4-element Structure (Word) |
| ldff1b | LDFF1B { <Zt>.B }, <Pg>/Z, [<Xn|SP>] | SVE Load | Loads bytes speculatively; suppresses faults after the first active element. |
| ldff1d | LDFF1D { <Zt>.D }, <Pg>/Z, [<Xn|SP>{, <Xm>, LSL #3}] | SVE Load | Loads doublewords speculatively; suppresses faults after the first active element. |
| ldff1h | LDFF1H { <Zt>.H }, <Pg>/Z, [<Xn|SP>] | SVE Load | Loads halfwords speculatively; suppresses faults after the first active element. |
| ldff1w | LDFF1W { <Zt>.S }, <Pg>/Z, [<Xn|SP>{, <Xm>, LSL #2}] | SVE Load | Loads words speculatively; suppresses faults after the first active element. |
| ldnf1b | LDNF1B { <Zt>.B }, <Pg>/Z, [<Xn|SP>] | SVE Load | Loads bytes without faulting; returns 0 if fault occurs. |
| ldnf1d | LDNF1D { <Zt>.D }, <Pg>/Z, [<Xn|SP>] | SVE Load | Loads doublewords without faulting. |
| ldnf1h | LDNF1H { <Zt>.H }, <Pg>/Z, [<Xn|SP>] | SVE Load | Loads halfwords without faulting. |
| ldnf1w | LDNF1W { <Zt>.S }, <Pg>/Z, [<Xn|SP>] | SVE Load | Loads words without faulting. |
| lsl | LSL <Zdn>.<T>, <Pg>/M, <Zdn>.<T>, <Zm>.<T> | SVE Shift | Shifts elements left under predicate. |
| lsr | LSR <Zdn>.<T>, <Pg>/M, <Zdn>.<T>, <Zm>.<T> | SVE Shift | Shifts elements right logically under predicate. |
| mla | MLA <Zda>.<T>, <Pg>/M, <Zn>.<T>, <Zm>.<T> | SVE | Integer Multiply-Add. |
| mls | MLS <Zda>.<T>, <Pg>/M, <Zn>.<T>, <Zm>.<T> | SVE | Integer Multiply-Subtract. |
| mul | MUL <Zdn>.<T>, <Pg>/M, <Zdn>.<T>, <Zm>.<T> | SVE Integer Binary | Multiplies two vectors under predicate. |
| nand | NAND <Pd>.B, <Pg>/Z, <Pn>.B, <Pm>.B | SVE | Predicate NAND |
| neg | NEG <Zdn>.<T>, <Pg>/M, <Zdn>.<T> | SVE Integer Unary | Negates integers. |
| nor | NOR <Pd>.B, <Pg>/Z, <Pn>.B, <Pm>.B | SVE | Predicate NOR |
| not | NOT <Zdn>.<T>, <Pg>/M, <Zdn>.<T> | SVE Integer Unary | Inverts bits. |
| orn | ORN <Pd>.B, <Pg>/Z, <Pn>.B, <Pm>.B | SVE | Predicate OR NOT |
| orr | ORR <Zdn>.<T>, <Pg>/M, <Zdn>.<T>, <Zm>.<T> | SVE Logic | Bitwise OR of two vectors under predicate. |
| orrs | ORRS <Pd>.B, <Pg>/Z, <Pn>.B, <Pm>.B | SVE | Predicate OR (Set Flags) |
| orv | ORV <Vd>, <Pg>, <Zn>.<T> | SVE Reduction | ORs all active elements into a scalar. |
| pfalse | PFALSE <Pd>.B | SVE Predicate | Clears all elements of the predicate register. |
| pfirst | PFIRST <Pd>.B, <Pg>, <Pn>.B | SVE Predicate | Sets destination predicate to true only at the first active element. |
| pnext | PNEXT <Pdn>.<T>, <Pg>, <Pdn>.<T> | SVE Predicate | Finds the next active predicate bit. |
| prfb | PRFB <prfop>, <Pg>, [<Xn|SP>, <Zm>.S, <mod>] | SVE | Prefetch Gather (Byte) |
| prfd | PRFD <prfop>, <Pg>, [<Xn|SP>, <Zm>.D, LSL #3] | SVE | Prefetch Gather (Double) |
| prfh | PRFH <prfop>, <Pg>, [<Xn|SP>, <Zm>.S, <mod> #1] | SVE | Prefetch Gather (Half) |
| prfw | PRFW <prfop>, <Pg>, [<Xn|SP>, <Zm>.S, <mod> #2] | SVE | Prefetch Gather (Word) |
| ptest | PTEST <Pg>, <Pn>.B | SVE Predicate | Updates processor flags (NZCV) based on predicate state. |
| ptrue | PTRUE <Pd>.<T> {, <pattern>} | SVE Predicate | Sets elements of the predicate register to true (all active). |
| punpkhi | PUNPKHI <Pd>.H, <Pn>.B | SVE | Unpack Predicate High. |
| punpklo | PUNPKLO <Pd>.H, <Pn>.B | SVE | Unpack Predicate Low. |
| rbit | RBIT <Zd>.<T>, <Pg>/M, <Zn>.<T> | SVE Permute | Reverses bits in each element. |
| rdffr | RDFFR <Pd>.B | SVE | Read First-Fault Register. |
| rdvl | RDVL <Xd>, #<imm> | SVE | Read Vector Length. |
| rev | REV <Zd>.<T>, <Zn>.<T> | SVE Permute | Reverses the order of elements in the vector. |
| revb | REVB <Zd>.<T>, <Pg>/M, <Zn>.<T> | SVE Permute | Reverses bytes within 16/32/64-bit elements. |
| revh | REVH <Zd>.<T>, <Pg>/M, <Zn>.<T> | SVE Permute | Reverses halfwords within 32/64-bit elements. |
| revw | REVW <Zd>.D, <Pg>/M, <Zn>.D | SVE Permute | Reverses words within 64-bit elements. |
| saddv | SADDV <Vd>, <Pg>, <Zn>.<T> | SVE Reduction | Sums all active signed elements into a scalar result. |
| scvtf | SCVTF <Zdn>.<T>, <Pg>/M, <Zdn>.<T> | SVE Conversion | Converts signed integers to floats. |
| scvtf | SCVTF <Zd>.S, <Pg>/M, <Zn>.S | SVE | Signed Int to Float Conversion. |
| sdiv | SDIV <Zdn>.<T>, <Pg>/M, <Zdn>.<T>, <Zm>.<T> | SVE Integer Binary | Divides signed integers. |
| sdivr | SDIVR <Zdn>.<T>, <Pg>/M, <Zdn>.<T>, <Zm>.<T> | SVE | Signed Integer Divide Reverse. |
| sdot | SDOT <Zda>.<T>, <Zn>.<Tb>, <Zm>.<Tb> | SVE Dot Product | Computes dot product of signed integers (AI Acceleration). |
| sel | SEL <Zd>.<T>, <Pg>, <Zn>.<T>, <Zm>.<T> | SVE Select | Selects elements from Zn or Zm based on predicate. |
| setffr | SETFFR | SVE | Set First-Fault Register. |
| smax | SMAX <Zdn>.<T>, <Pg>/M, <Zdn>.<T>, <Zm>.<T> | SVE Integer Binary | Determines maximum signed value per element. |
| smaxv | SMAXV <Vd>, <Pg>, <Zn>.<T> | SVE Reduction | Finds max signed element in vector. |
| smin | SMIN <Zdn>.<T>, <Pg>/M, <Zdn>.<T>, <Zm>.<T> | SVE Integer Binary | Determines minimum signed value per element. |
| sminv | SMINV <Vd>, <Pg>, <Zn>.<T> | SVE Reduction | Finds min signed element in vector. |
| splice | SPLICE <Zdn>.<T>, <Pg>, <Zdn>.<T>, <Zm>.<T> | SVE Permute | Splices two vectors based on the last active element of the first. |
| st1b | ST1B { <Zt>.<T> }, <Pg>, [<Xn|SP>{, #<imm>, MUL VL}] | SVE Store | Stores active bytes from vector to memory. |
| st1d | ST1D { <Zt>.D }, <Pg>, [<Xn|SP>{, #<imm>, MUL VL}] | SVE Store | Stores active doublewords from vector to memory. |
| st1d | ST1D { <Zt>.D }, <Pg>, [<Xn|SP>, <Zm>.D, LSL #3] | SVE Scatter | Stores doublewords to non-contiguous memory addresses. |
| st1h | ST1H { <Zt>.H }, <Pg>, [<Xn|SP>] | SVE Store | Stores active halfwords from vector to memory. |
| st1w | ST1W { <Zt>.<T> }, <Pg>, [<Xn|SP>{, #<imm>, MUL VL}] | SVE Store | Stores active words from vector to memory. |
| st1w | ST1W { <Zt>.S }, <Pg>, [<Xn|SP>, <Zm>.S, SXTW #<shift>] | SVE Scatter | Stores words to non-contiguous addresses. |
| sub | SUB <Zdn>.<T>, <Pg>/M, <Zdn>.<T>, <Zm>.<T> | SVE Integer Binary | Subtracts vector Zm from Zdn under predicate. |
| sunpkhi | SUNPKHI <Zd>.<T>, <Zn>.<Tb> | SVE Permute | Unpacks and sign-extends upper half of vector elements. |
| sunpklo | SUNPKLO <Zd>.<T>, <Zn>.<Tb> | SVE Permute | Unpacks and sign-extends lower half of vector elements. |
| tbl | TBL <Zd>.<T>, { <Zn>.<T> }, <Zm>.<T> | SVE Permute | Looks up elements in a vector table using indices. |
| tbx | TBX <Zd>.<T>, <Zn>.<T>, <Zm>.<T> | SVE Permute | Vector table extension (SVE version of TBX). |
| trn1 | TRN1 <Zd>.<T>, <Zn>.<T>, <Zm>.<T> | SVE Permute | Interleaves even elements from two vectors. |
| trn2 | TRN2 <Zd>.<T>, <Zn>.<T>, <Zm>.<T> | SVE Permute | Interleaves odd elements from two vectors. |
| uaddv | UADDV <Vd>, <Pg>, <Zn>.<T> | SVE Reduction | Sums all active unsigned elements into a scalar result. |
| ucvtf | UCVTF <Zdn>.<T>, <Pg>/M, <Zdn>.<T> | SVE Conversion | Converts unsigned integers to floats. |
| ucvtf | UCVTF <Zd>.S, <Pg>/M, <Zn>.S | SVE | Unsigned Int to Float Conversion. |
| udiv | UDIV <Zdn>.<T>, <Pg>/M, <Zdn>.<T>, <Zm>.<T> | SVE Integer Binary | Divides unsigned integers. |
| udivr | UDIVR <Zdn>.<T>, <Pg>/M, <Zdn>.<T>, <Zm>.<T> | SVE | Unsigned Integer Divide Reverse. |
| udot | UDOT <Zda>.<T>, <Zn>.<Tb>, <Zm>.<Tb> | SVE Dot Product | Computes dot product of unsigned integers. |
| umax | UMAX <Zdn>.<T>, <Pg>/M, <Zdn>.<T>, <Zm>.<T> | SVE Integer Binary | Determines maximum unsigned value per element. |
| umaxv | UMAXV <Vd>, <Pg>, <Zn>.<T> | SVE Reduction | Finds max unsigned element in vector. |
| umin | UMIN <Zdn>.<T>, <Pg>/M, <Zdn>.<T>, <Zm>.<T> | SVE Integer Binary | Determines minimum unsigned value per element. |
| uminv | UMINV <Vd>, <Pg>, <Zn>.<T> | SVE Reduction | Finds min unsigned element in vector. |
| usdot | USDOT <Zda>.S, <Zn>.B, <Zm>.B | SVE Dot Product | Dot product of unsigned and signed 8-bit elements into 32-bit accumulators (SVE). |
| uunpkhi | UUNPKHI <Zd>.<T>, <Zn>.<Tb> | SVE Permute | Unpacks and zero-extends upper half of vector elements. |
| uunpklo | UUNPKLO <Zd>.<T>, <Zn>.<Tb> | SVE Permute | Unpacks and zero-extends lower half of vector elements. |
| uzp1 | UZP1 <Zd>.<T>, <Zn>.<T>, <Zm>.<T> | SVE Permute | Selects even elements from concatenated vectors. |
| uzp2 | UZP2 <Zd>.<T>, <Zn>.<T>, <Zm>.<T> | SVE Permute | Selects odd elements from concatenated vectors. |
| whilehi | WHILEHI <Pd>.<T>, <Xn>, <Xm> | SVE Compare | Generates predicate for unsigned loop (while Xn > Xm). |
| whilehs | WHILEHS <Pd>.<T>, <Xn>, <Xm> | SVE Compare | Generates predicate for unsigned loop (while Xn >= Xm). |
| whilele | WHILELE <Pd>.<T>, <Xn>, <Xm> | SVE Compare Scalar | Generates a predicate based on loop counter (while Xn <= Xm). |
| whilelo | WHILELO <Pd>.<T>, <Xn>, <Xm> | SVE Compare | Generates predicate for unsigned loop (while Xn < Xm). |
| whilels | WHILELS <Pd>.<T>, <Xn>, <Xm> | SVE Compare | Generates predicate for unsigned loop (while Xn <= Xm). |
| whilelt | WHILELT <Pd>.<T>, <Xn>, <Xm> | SVE Compare Scalar | Generates a predicate based on a loop counter (while Xn < Xm). |
| wrffr | WRFFR <Pn>.B | SVE | Write First-Fault Register. |
| zip1 | ZIP1 <Zd>.<T>, <Zn>.<T>, <Zm>.<T> | SVE Permute | Interleaves elements from the lower halves. |
| zip2 | ZIP2 <Zd>.<T>, <Zn>.<T>, <Zm>.<T> | SVE Permute | Interleaves elements from the upper halves. |