diff options
| author | Christian Pirker <cpirker@a-bix.com> | 2014-05-06 10:05:11 +0000 |
|---|---|---|
| committer | Christian Pirker <cpirker@a-bix.com> | 2014-05-06 10:05:11 +0000 |
| commit | fdce7cea931fc6fcb995a1193b3ae7f78a913f0d (patch) | |
| tree | d9c4a78a0e1a6692065e94885581a087b97f9755 /llvm/test | |
| parent | e5cee260ce07f96a8bc8f82905bc319cc33106fe (diff) | |
| download | bcm5719-llvm-fdce7cea931fc6fcb995a1193b3ae7f78a913f0d.tar.gz bcm5719-llvm-fdce7cea931fc6fcb995a1193b3ae7f78a913f0d.zip | |
ARM: For thumb fixups store halfwords high first and low second
llvm-svn: 208076
Diffstat (limited to 'llvm/test')
| -rw-r--r-- | llvm/test/MC/ARM/thumb2be-b.w-encoding.s | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/llvm/test/MC/ARM/thumb2be-b.w-encoding.s b/llvm/test/MC/ARM/thumb2be-b.w-encoding.s new file mode 100644 index 00000000000..8e162abb1d1 --- /dev/null +++ b/llvm/test/MC/ARM/thumb2be-b.w-encoding.s @@ -0,0 +1,12 @@ +// 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 +// 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 + .syntax unified + .code 16 + .thumb_func +foo: + b.w bar + +// CHECK-LE: Contents of section .text: +// CHECK-LE-NEXT: 0000 fff7febf +// CHECK-BE: Contents of section .text: +// CHECK-BE-NEXT: 0000 f7ffbffe |

