Fix the encoding of the armv7m (MClass) for MSR registers other than aspr,
authorKevin Enderby <enderby@apple.com>
Fri, 15 Jun 2012 22:14:44 +0000 (22:14 +0000)
committerKevin Enderby <enderby@apple.com>
Fri, 15 Jun 2012 22:14:44 +0000 (22:14 +0000)
commitf49a4092bcf679d1634a8023efc593e98a3e5663
tree9376a9427ca597edc489af528109321ff62ad2ce
parent307473dec0e2fa966037d04725a40b33669dddc8
Fix the encoding of the armv7m (MClass) for MSR registers other than aspr,
iaspr, espr and xpsr which also needed to have 0b10 in their mask encoding bits.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@158560 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Target/ARM/AsmParser/ARMAsmParser.cpp
lib/Target/ARM/InstPrinter/ARMInstPrinter.cpp
test/MC/ARM/thumb2-mclass.s