1 # RUN: llvm-mc -filetype=obj -triple armv7-linux-gnueabi %s -o - \
2 # RUN: | llvm-objdump -no-show-raw-insn -triple armv7 -disassemble - | FileCheck %s
4 # We can switch subtargets with .arch outside of a bundle
16 # We can switch subtargets at the start of a bundle
18 .bundle_lock align_to_end
26 # CHECK-NEXT: 4: and r1, r1, r1
27 # CHECK-NEXT: 8: and r1, r1, r1
28 # CHECK-NEXT: c: bx lr
29 # CHECK-NEXT: 10: bx lr
31 # CHECK-NEXT: 18: movt r0, #65535
32 # CHECK-NEXT: 1c: movw r0, #65535
33 # CHECK-NEXT: 20: bx lr