This is used by the Linux kernel built with CONFIG_THUMB2_KERNEL.
Because different operands are not permitted to movs, the diagnostics now provide multiple suggestions along the lines of using a non-pc destination operand or lr source operand.
Forked from D95586.
Signed-off-by: Nick Desaulniers <ndesaulniers@google.com>
Here please cite the armarmv7:
B9.3.19 SUBS PC, LR (Thumb) In the Thumb instruction set, MOVS{<c>}{<q>} PC, LR is a pseudo-instruction for SUBS{<c>}{<q>} PC, LR, #0.