Fix issues with the ARM bl and blx thumb instructions and the J1 and J2 bits
authorKevin Enderby <enderby@apple.com>
Thu, 3 May 2012 22:41:56 +0000 (22:41 +0000)
committerKevin Enderby <enderby@apple.com>
Thu, 3 May 2012 22:41:56 +0000 (22:41 +0000)
commit2d524b0765145f1c7888166c985a25452f16b2bc
treeda959deb54ff95efe8a9a261000687b88a0b7d3d
parent9f7af7b74892e5479e26ab535c9a76131e1947c3
Fix issues with the ARM bl and blx thumb instructions and the J1 and J2 bits
for the assembler and disassembler.  Which were not being set/read correctly
for offsets greater than 22 bits in some cases.

Changes to lib/Target/ARM/ARMAsmBackend.cpp from Gideon Myles!

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@156118 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Target/ARM/ARMInstrThumb.td
lib/Target/ARM/Disassembler/ARMDisassembler.cpp
lib/Target/ARM/MCTargetDesc/ARMAsmBackend.cpp
test/MC/ARM/basic-thumb-instructions.s
test/MC/Disassembler/ARM/thumb-tests.txt
test/MC/MachO/ARM/thumb-bl-jbits.s [new file with mode: 0644]