[ARM] Fix subtarget feature set truncation when using .cpu directive
authorBradley Smith <bradley.smith@arm.com>
Wed, 4 Feb 2015 16:23:24 +0000 (16:23 +0000)
committerBradley Smith <bradley.smith@arm.com>
Wed, 4 Feb 2015 16:23:24 +0000 (16:23 +0000)
commit960ce2aafa610f2ab3d025262fe85ef978682279
tree9a573adcfdcf307ab1bb8ebb8e40a159315cf7fe
parent8dc0ae66069d3de8d2fdb630028115af054aa2d0
[ARM] Fix subtarget feature set truncation when using .cpu directive

This is a bug that was caused due to storing the feature bitset in a 32-bit
variable when it is a 64-bit mask, discarding the top half of the feature set.

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