]> granicus.if.org Git - llvm/commit
[ARM] Fix encoding of APSR in CLRM instruction
authorMomchil Velikov <momchil.velikov@arm.com>
Tue, 13 Aug 2019 16:12:46 +0000 (16:12 +0000)
committerMomchil Velikov <momchil.velikov@arm.com>
Tue, 13 Aug 2019 16:12:46 +0000 (16:12 +0000)
commitf68c94b95035ee6504658e75372173cda6136abc
treea3f7820bd8645de79eb61f61a4a869d94d737691
parentb5027beff2576d5ea3bb41f97f53bcfc46ee88b7
[ARM] Fix encoding of APSR in CLRM instruction

The APSR is encoded by setting bit 15 in the register list of the CLRM
instruction (cf. https://static.docs.arm.com/ddi0553/bh/DDI0553B_h_armv8m_arm.pdf).

Differential Revision: https://reviews.llvm.org/D65873

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@368711 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Target/ARM/ARMRegisterInfo.td
lib/Target/ARM/MCTargetDesc/ARMMCCodeEmitter.cpp
test/MC/ARM/clrm-asm.s