ARM: Additional test files for thumb fixups
[oota-llvm.git] / test / MC / ARM / thumb2be-movw-encoding.s
1 // RUN: llvm-mc -triple=thumbv7-none-linux-gnueabi -mcpu=cortex-a8 -filetype=obj < %s | llvm-objdump -arch=thumb -s - | FileCheck %s --check-prefix=CHECK-LE
2 // RUN: llvm-mc -triple=thumbebv7-none-linux-gnueabi -mcpu=cortex-a8 -filetype=obj < %s | llvm-objdump -arch=thumbeb -s - | FileCheck %s --check-prefix=CHECK-BE
3   .syntax unified
4   .code 16
5   .thumb_func
6 foo:
7   movw r9, :lower16:(_bar)
8
9 // CHECK-LE: Contents of section .text:
10 // CHECK-LE-NEXT: 0000 40f20009
11 // CHECK-BE: Contents of section .text:
12 // CHECK-BE-NEXT: 0000 f2400900