aboutsummaryrefslogtreecommitdiffstats
path: root/test/MC/Disassembler
diff options
context:
space:
mode:
authorKevin Enderby <enderby@apple.com>2012-10-29 23:27:20 +0000
committerKevin Enderby <enderby@apple.com>2012-10-29 23:27:20 +0000
commit445ba85b8d7bc8fb4689ca22131cadc80a034705 (patch)
treebd41864548c0d0ab5ce37dbe87f1904fdb6b6c7a /test/MC/Disassembler
parentc1ed096b6b34c5f9af1a856aef5978144b20f31e (diff)
downloadexternal_llvm-445ba85b8d7bc8fb4689ca22131cadc80a034705.zip
external_llvm-445ba85b8d7bc8fb4689ca22131cadc80a034705.tar.gz
external_llvm-445ba85b8d7bc8fb4689ca22131cadc80a034705.tar.bz2
Fix ARM's b.w instruction for thumb 2 and the encoding T4. The branch target
is 24 bits not 20 and the decoding needed to correctly handle converting the J1 and J2 bits to their I1 and I2 values to reconstruct the displacement. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@166982 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test/MC/Disassembler')
-rw-r--r--test/MC/Disassembler/ARM/thumb2.txt3
1 files changed, 3 insertions, 0 deletions
diff --git a/test/MC/Disassembler/ARM/thumb2.txt b/test/MC/Disassembler/ARM/thumb2.txt
index 42ebe58..45dace3 100644
--- a/test/MC/Disassembler/ARM/thumb2.txt
+++ b/test/MC/Disassembler/ARM/thumb2.txt
@@ -169,6 +169,9 @@
0x13 0xf5 0xce 0xa9
+# CHECK: b.w #208962
+
+0x33 0xf0 0x21 0xb8 # rdar://12585795
#------------------------------------------------------------------------------
# BFC