The QADD instruction adds the values in Rm and Rn.
The QSUB instruction subtracts the value in Rn from
the value in Rm.
The QDADD instruction calculates SAT(Rm +
SAT(Rn * 2)). Saturation can
occur on the doubling operation, on the addition, or on both. If
saturation occurs on the doubling but not on the addition, the Q
flag is set but the final result is unsaturated.
The QDSUB instruction calculates SAT(Rm -
SAT(Rn * 2)). Saturation can
occur on the doubling operation, on the subtraction, or on both.
If saturation occurs on the doubling but not on the subtraction,
the Q flag is set but the final result is unsaturated.
Note
All values are treated as two’s complement signed integers
by these instructions.