summaryrefslogtreecommitdiffstats
path: root/test/MC/ARM/thumb2-b.w-encodingT4.s
diff options
context:
space:
mode:
Diffstat (limited to 'test/MC/ARM/thumb2-b.w-encodingT4.s')
-rw-r--r--test/MC/ARM/thumb2-b.w-encodingT4.s12
1 files changed, 12 insertions, 0 deletions
diff --git a/test/MC/ARM/thumb2-b.w-encodingT4.s b/test/MC/ARM/thumb2-b.w-encodingT4.s
new file mode 100644
index 0000000..be77b06
--- /dev/null
+++ b/test/MC/ARM/thumb2-b.w-encodingT4.s
@@ -0,0 +1,12 @@
+@ RUN: llvm-mc -triple=thumbv7-apple-darwin -mcpu=cortex-a8 -show-encoding < %s | FileCheck %s
+ .syntax unified
+ .globl _func
+.thumb_func _foo
+.space 0x37c6
+_foo:
+@------------------------------------------------------------------------------
+@ B (thumb2 b.w encoding T4) rdar://12585795
+@------------------------------------------------------------------------------
+ b.w 0x3680c
+
+@ CHECK: b.w #223244 @ encoding: [0x6d,0xf0,0x0c,0xb0]
OpenPOWER on IntegriCloud