xref: /aosp_15_r20/external/llvm/test/MC/ARM/thumb2-b.w-encodingT4.s (revision 9880d6810fe72a1726cb53787c6711e909410d58)
1*9880d681SAndroid Build Coastguard Worker@ RUN: llvm-mc -triple=thumbv7-apple-darwin -mcpu=cortex-a8 -show-encoding < %s | FileCheck %s
2*9880d681SAndroid Build Coastguard Worker  .syntax unified
3*9880d681SAndroid Build Coastguard Worker  .globl _func
4*9880d681SAndroid Build Coastguard Worker.thumb_func _foo
5*9880d681SAndroid Build Coastguard Worker.space 0x37c6
6*9880d681SAndroid Build Coastguard Worker_foo:
7*9880d681SAndroid Build Coastguard Worker@------------------------------------------------------------------------------
8*9880d681SAndroid Build Coastguard Worker@ B (thumb2 b.w encoding T4) rdar://12585795
9*9880d681SAndroid Build Coastguard Worker@------------------------------------------------------------------------------
10*9880d681SAndroid Build Coastguard Worker        b.w   0x3680c
11*9880d681SAndroid Build Coastguard Worker
12*9880d681SAndroid Build Coastguard Worker@ CHECK: b.w	#223244                    @ encoding: [0x36,0xf0,0x06,0xbc]
13