51c54298de925d1a51449b2d9b6a97def6515742
[oota-llvm.git] / test / MC / ARM / elf-movt.s
1 @ RUN: llvm-mc %s -triple=armv7-linux-gnueabi | FileCheck -check-prefix=ASM %s
2         .syntax unified
3         .text
4         .globl  barf
5         .align  2
6         .type   barf,%function
7 barf:                                   @ @barf
8 @ BB#0:                                 @ %entry
9         movw    r0, :lower16:GOT-(.LPC0_2+8)
10         movt    r0, :upper16:GOT-(.LPC0_2+16)
11 .LPC0_2:
12 @ ASM:          movw    r0, :lower16:GOT-(.LPC0_2+8)
13 @ ASM-NEXT:     movt    r0, :upper16:GOT-(.LPC0_2+16)
14