SVE Instructions
193 ARM instructions in this extension - showing 100 per page, page 1 of 2 - click any row for encoding, pseudocode, and full documentation.
| Mnemonic | Syntax | Format | Summary |
|---|---|---|---|
| abs | ABS <Zdn>.<T>, <Pg>/M, <Zdn>.<T> | SVE Integer Unary | Calculates absolute value of integers. |
| add | ADD <Zdn>.<T>, <Pg>/M, <Zdn>.<T>, <Zm>.<T> | SVE Integer Binary | Adds two vectors under predicate control. |
| and | AND <Zdn>.<T>, <Pg>/M, <Zdn>.<T>, <Zm>.<T> | SVE Logic | Bitwise AND of two vectors under predicate. |
| ands | ANDS <Pd>.B, <Pg>/Z, <Pn>.B, <Pm>.B | SVE | Predicate AND (Set Flags) |
| andv | ANDV <Vd>, <Pg>, <Zn>.<T> | SVE Reduction | ANDs all active elements into a scalar. |
| asr | ASR <Zdn>.<T>, <Pg>/M, <Zdn>.<T>, <Zm>.<T> | SVE Shift | Shifts elements right arithmetically under predicate. |
| asrd | ASRD <Zdn>.<T>, <Pg>/M, <Zdn>.<T>, #<const> | SVE | Arithmetic Shift Right for Divide. |
| bic | BIC <Zdn>.<T>, <Pg>/M, <Zdn>.<T>, <Zm>.<T> | SVE Logic | Bitwise AND NOT of two vectors under predicate. |
| bics | BICS <Pd>.B, <Pg>/Z, <Pn>.B, <Pm>.B | SVE | Predicate Bitwise Clear (Set Flags) |
| brka | BRKA <Pd>.B, <Pg>/Z, <Pn>.B | SVE Predicate | Sets predicates up to and including the first active element. |
| brkb | BRKB <Pd>.B, <Pg>/Z, <Pn>.B | SVE Predicate | Sets predicates up to (but excluding) the first active element. |
| brkn | BRKN <Pdm>.B, <Pg>/Z, <Pn>.B, <Pdm>.B | SVE | Break to Next Partition. |
| clasta | CLASTA <Rdn>, <Pg>, <Rdn>, <Zm>.<T> | SVE Extract | Extracts element after the last active element. |
| clastb | CLASTB <Rdn>, <Pg>, <Rdn>, <Zm>.<T> | SVE Extract | Extracts the last active element. |
| cls | CLS <Zd>.<T>, <Pg>/M, <Zn>.<T> | SVE | Count Leading Sign Bits. |
| clz | CLZ <Zd>.<T>, <Pg>/M, <Zn>.<T> | SVE | Count Leading Zeros. |
| cmpeq | CMPEQ <Pd>.<T>, <Pg>/Z, <Zn>.<T>, <Zm>.<T> | SVE Compare | Sets predicate bits where elements are equal. |
| cmpge | CMPGE <Pd>.<T>, <Pg>/Z, <Zn>.<T>, <Zm>.<T> | SVE | Integer Compare Greater Equal. |
| cmpgt | CMPGT <Pd>.<T>, <Pg>/Z, <Zn>.<T>, <Zm>.<T> | SVE Compare | Sets predicate bits where Zn > Zm. |
| cmpne | CMPNE <Pd>.<T>, <Pg>/Z, <Zn>.<T>, <Zm>.<T> | SVE | Integer Compare Not Equal. |
| cnot | CNOT <Zd>.<T>, <Pg>/M, <Zn>.<T> | SVE | Logical Negate (Condition) |
| cntb | CNTB <Xd>{, <pattern>{, MUL #<imm>}} | SVE | Count Bytes in Vector. |
| cntd | CNTD <Xd>{, <pattern>{, MUL #<imm>}} | SVE | Count Doublewords in Vector. |
| cnth | CNTH <Xd>{, <pattern>{, MUL #<imm>}} | SVE | Count Halfwords in Vector. |
| cntp | CNTP <Xn>, <Pg>, <Pn>.<T> | SVE Count | Counts the number of true elements in a predicate. |
| cntw | CNTW <Xd>{, <pattern>{, MUL #<imm>}} | SVE | Count Words in Vector. |
| compact | COMPACT <Zd>.<T>, <Pg>, <Zn>.<T> | SVE Permute | Packs active elements to the bottom of the vector. |
| cpy | CPY <Zd>.<T>, <Pg>/M, <R><n> | SVE Move | Copies scalar value to active vector elements (Alias for DUP predicated). |
| cpy | CPY <Zd>.<T>, <Pg>/M, <V><n> | SVE Move | Copies a SIMD&FP scalar register into the active elements of a vector, leaving the rest. |
| decb | DECB <Xdn>, <pattern> {, MUL #<imm>} | SVE Inc/Dec | Decrements a register by the number of active bytes. |
| decd | DECD <Xdn>, <pattern> {, MUL #<imm>} | SVE Inc/Dec | Decrements a register by the number of active doublewords. |
| decw | DECW <Xdn>, <pattern> {, MUL #<imm>} | SVE Inc/Dec | Decrements a register by the number of active words. |
| dup | DUP <Zd>.<T>, <R><n|m> | SVE Move | Broadcasts a scalar register or immediate to all active vector elements. |
| eor | EOR <Zdn>.<T>, <Pg>/M, <Zdn>.<T>, <Zm>.<T> | SVE Logic | Bitwise XOR of two vectors under predicate. |
| eors | EORS <Pd>.B, <Pg>/Z, <Pn>.B, <Pm>.B | SVE | Predicate XOR (Set Flags) |
| eorv | EORV <Vd>, <Pg>, <Zn>.<T> | SVE Reduction | XORs all active elements into a scalar. |
| ext | EXT <Zdn>.<T>, <Zdn>.<T>, <Zm>.<T>, #<imm> | SVE Permute | Extracts a vector from a pair (sliding window) using immediate byte index. |
| fabs | FABS <Zdn>.<T>, <Pg>/M, <Zdn>.<T> | SVE FP Unary | Calculates absolute value of floats. |
| fadd | FADD <Zdn>.<T>, <Pg>/M, <Zdn>.<T>, <Zm>.<T> | SVE FP Binary | Adds floating-point elements under predicate. |
| fadda | FADDA <V><dn>, <Pg>, <V><dn>, <Zm>.<T> | SVE | Floating-point Add Across Vector. |
| faddv | FADDV <Vd>, <Pg>, <Zn>.<T> | SVE Reduction | Sums all active floating-point elements into a scalar result. |
| fcadd | FCADD <Zdn>.<T>, <Pg>/M, <Zdn>.<T>, <Zm>.<T>, #<rot> | SVE FP Complex | Performs complex addition with rotation. |
| fcmeq | FCMEQ <Pd>.<T>, <Pg>/Z, <Zn>.<T>, <Zm>.<T> | SVE FP Compare | Sets predicate bits where float elements are equal. |
| fcmge | FCMGE <Pd>.<T>, <Pg>/Z, <Zn>.<T>, <Zm>.<T> | SVE | Floating-point Compare Greater Equal. |
| fcmgt | FCMGT <Pd>.<T>, <Pg>/Z, <Zn>.<T>, <Zm>.<T> | SVE FP Compare | Sets predicate bits where float Zn > Zm. |
| fcmla | FCMLA <Zda>.<T>, <Pg>/M, <Zn>.<T>, <Zm>.<T>, #<rot> | SVE FP Complex | Performs complex multiply-accumulate. |
| fcmne | FCMNE <Pd>.<T>, <Pg>/Z, <Zn>.<T>, <Zm>.<T> | SVE | Floating-point Compare Not Equal. |
| fcvt | FCVT <Zd>.D, <Pg>/M, <Zn>.S | SVE | Floating-point Convert Precision. |
| fcvtzs | FCVTZS <Zdn>.<T>, <Pg>/M, <Zdn>.<T> | SVE Conversion | Converts floats to signed integers (Truncate). |
| fcvtzs | FCVTZS <Zd>.S, <Pg>/M, <Zn>.S | SVE | Float to Signed Int (Round towards Zero) |
| fcvtzu | FCVTZU <Zdn>.<T>, <Pg>/M, <Zdn>.<T> | SVE Conversion | Converts floats to unsigned integers (Truncate). |
| fcvtzu | FCVTZU <Zd>.S, <Pg>/M, <Zn>.S | SVE | Float to Unsigned Int (Round towards Zero) |
| fdiv | FDIV <Zdn>.<T>, <Pg>/M, <Zdn>.<T>, <Zm>.<T> | SVE FP Binary | Divides floating-point elements under predicate. |
| fmax | FMAX <Zdn>.<T>, <Pg>/M, <Zdn>.<T>, <Zm>.<T> | SVE FP Binary | Determines maximum value of active float elements. |
| fmaxnm | FMAXNM <Zdn>.<T>, <Pg>/M, <Zdn>.<T>, <Zm>.<T> | SVE | Predicated Floating-point Max Number. |
| fmaxnmv | FMAXNMV <V><d>, <Pg>, <Zn>.<T> | SVE | Floating-point MaxNum Reduction. |
| fmaxv | FMAXV <Vd>, <Pg>, <Zn>.<T> | SVE Reduction | Finds max float in vector. |
| fmin | FMIN <Zdn>.<T>, <Pg>/M, <Zdn>.<T>, <Zm>.<T> | SVE FP Binary | Determines minimum value of active float elements. |
| fminnm | FMINNM <Zdn>.<T>, <Pg>/M, <Zdn>.<T>, <Zm>.<T> | SVE | Predicated Floating-point Min Number. |
| fminnmv | FMINNMV <V><d>, <Pg>, <Zn>.<T> | SVE | Floating-point MinNum Reduction. |
| fminv | FMINV <Vd>, <Pg>, <Zn>.<T> | SVE Reduction | Finds min float in vector. |
| fmla | FMLA <Zda>.<T>, <Pg>/M, <Zn>.<T>, <Zm>.<T> | SVE FP Ternary | Calculates (Zda + Zn * Zm) under predicate. |
| fmls | FMLS <Zda>.<T>, <Pg>/M, <Zn>.<T>, <Zm>.<T> | SVE FP Ternary | Calculates (Zda - Zn * Zm) under predicate. |
| fmul | FMUL <Zdn>.<T>, <Pg>/M, <Zdn>.<T>, <Zm>.<T> | SVE FP Binary | Multiplies floating-point elements under predicate. |
| fneg | FNEG <Zdn>.<T>, <Pg>/M, <Zdn>.<T> | SVE FP Unary | Negates floats. |
| fnmla | FNMLA <Zda>.<T>, <Pg>/M, <Zn>.<T>, <Zm>.<T> | SVE | Floating-point Negated Multiply-Add. |
| fnmls | FNMLS <Zda>.<T>, <Pg>/M, <Zn>.<T>, <Zm>.<T> | SVE | Floating-point Negated Multiply-Subtract. |
| frecpe | FRECPE <Zd>.<T>, <Zn>.<T> | SVE | Floating-point Reciprocal Estimate. |
| frecps | FRECPS <Zd>.<T>, <Zn>.<T>, <Zm>.<T> | SVE | Floating-point Reciprocal Step. |
| frecpx | FRECPX <Zd>.<T>, <Pg>/M, <Zn>.<T> | SVE | Floating-point Reciprocal Exponent. |
| frinta | FRINTA <Zd>.<T>, <Pg>/M, <Zn>.<T> | SVE | FP Round to Integral (Away) |
| frinti | FRINTI <Zd>.<T>, <Pg>/M, <Zn>.<T> | SVE | FP Round to Integral (Current) |
| frintm | FRINTM <Zd>.<T>, <Pg>/M, <Zn>.<T> | SVE | FP Round to Integral (Minus Infinity) |
| frintn | FRINTN <Zd>.<T>, <Pg>/M, <Zn>.<T> | SVE Float | Rounds float to integer (Nearest Even) (vector). |
| frintp | FRINTP <Zd>.<T>, <Pg>/M, <Zn>.<T> | SVE | FP Round to Integral (Plus Infinity) |
| frintx | FRINTX <Zd>.<T>, <Pg>/M, <Zn>.<T> | SVE | FP Round to Integral (Exact) |
| frintz | FRINTZ <Zd>.<T>, <Pg>/M, <Zn>.<T> | SVE | FP Round to Integral (Zero) |
| frsqrte | FRSQRTE <Zd>.<T>, <Zn>.<T> | SVE | Floating-point Reciprocal Sqrt Estimate. |
| frsqrts | FRSQRTS <Zd>.<T>, <Zn>.<T>, <Zm>.<T> | SVE | Floating-point Reciprocal Sqrt Step. |
| fscale | FSCALE <Zdn>.<T>, <Pg>/M, <Zdn>.<T>, <Zm>.<T> | SVE | Floating-point Scale. |
| fsqrt | FSQRT <Zdn>.<T>, <Pg>/M, <Zdn>.<T> | SVE FP Unary | Calculates square root of floats. |
| fsub | FSUB <Zdn>.<T>, <Pg>/M, <Zdn>.<T>, <Zm>.<T> | SVE FP Binary | Subtracts floating-point elements under predicate. |
| incb | INCB <Xdn>, <pattern> {, MUL #<imm>} | SVE Inc/Dec | Increments a general-purpose register by the number of active bytes in the pattern. |
| incd | INCD <Xdn>, <pattern> {, MUL #<imm>} | SVE Inc/Dec | Increments a register by the number of active doublewords. |
| incw | INCW <Xdn>, <pattern> {, MUL #<imm>} | SVE Inc/Dec | Increments a register by the number of active words. |
| index | INDEX <Zd>.<T>, <Start>, <Step> | SVE Index | Generates a vector of indices: V[i] = Start + i * Step. |
| insr | INSR <Zdn>.<T>, <R><m> | SVE Move | Inserts scalar into bottom of vector, shifting other elements up. |
| lasta | LASTA <Vd>.<T>, <Pg>, <Zn>.<T> | SVE Extract | Extracts element after last active (SIMD scalar destination). |
| lastb | LASTB <Vd>.<T>, <Pg>, <Zn>.<T> | SVE Extract | Extracts last active element (SIMD scalar destination). |
| ld1b | LD1B { <Zt>.B }, <Pg>/Z, [<Xn|SP>{, #<imm>, MUL VL}] | SVE Load | Loads bytes from memory into a vector under predicate control. |
| ld1d | LD1D { <Zt>.D }, <Pg>/Z, [<Xn|SP>{, #<imm>, MUL VL}] | SVE Load | Loads doublewords from memory into a vector under predicate control. |
| ld1d | LD1D { <Zt>.D }, <Pg>/Z, [<Xn|SP>, <Zm>.D, LSL #3] | SVE Gather | Loads doublewords from non-contiguous memory addresses. |
| ld1h | LD1H { <Zt>.H }, <Pg>/Z, [<Xn|SP>] | SVE Load | Loads halfwords from memory into a vector under predicate control. |
| ld1w | LD1W { <Zt>.S }, <Pg>/Z, [<Xn|SP>] | SVE Load | Loads words from memory into a vector under predicate control. |
| ld1w | LD1W { <Zt>.S }, <Pg>/Z, [<Xn|SP>, <Zm>.S, SXTW #<shift>] | SVE Gather | Loads words from non-contiguous addresses (Scatter-Gather). |
| ld2d | LD2D { <Zt1>.D, <Zt2>.D }, <Pg>/Z, [<Xn|SP>{, #<imm>, MUL VL}] | SVE | Load 2-element Structure (Double) |
| ld2h | LD2H { <Zt1>.H, <Zt2>.H }, <Pg>/Z, [<Xn|SP>{, #<imm>, MUL VL}] | SVE | Load 2-element Structure (Half) |
| ld2w | LD2W { <Zt1>.S, <Zt2>.S }, <Pg>/Z, [<Xn|SP>{, #<imm>, MUL VL}] | SVE | Load 2-element Structure (Word) |
| ld3d | LD3D { <Zt1>.D, <Zt2>.D, <Zt3>.D }, <Pg>/Z, [<Xn|SP>{, #<imm>, MUL VL}] | SVE | Load 3-element Structure (Double) |
| ld3h | LD3H { <Zt1>.H, <Zt2>.H, <Zt3>.H }, <Pg>/Z, [<Xn|SP>{, #<imm>, MUL VL}] | SVE | Load 3-element Structure (Half) |