sqsub
Vector Signed Saturating Subtract
SQSUB <Vd>.<T>, <Vn>.<T>, <Vm>.<T>
Subtracts signed integers with saturation.
Details
The Vector Signed Saturating Subtract instruction subtracts signed integers with saturation.
Pseudocode Operation
Vd ← Vn - Vm
// Flags affected: N, Z, C, V
Example
SQSUB v0.4s.T, v1.4s.T, v2.4s.T
Encoding
Binary Layout
0
Q
001110
size
00101
Rm
0000
Rn
Rd
Operands
-
Vd
Destination SIMD/FP vector register -
Vn
First source SIMD/FP vector register -
Vm
Second source SIMD/FP vector register