[ARM] Better OR's for MVE compares
[llvm-core.git] / test / MC / AArch64 / size-directive.s
blob5c9ac26f17e5728938530acb88cab5bdd2ca3cd8
1 // RUN: llvm-mc %s -triple=aarch64-none-linux-gnu -filetype=asm -o - \
2 // RUN: | FileCheck %s --check-prefix=CHECK-ASM
3 // RUN: llvm-mc %s -triple=aarch64-none-linux-gnu -filetype=obj -o %t
4 // RUN: llvm-readobj -S --sd %t | FileCheck %s --check-prefix=CHECK-OBJ
5 // RUN: llvm-objdump -t %t | FileCheck %s --check-prefix=CHECK-SYMS
7 .section .size.aarch64_size
9 .p2align 2
10 .global aarch64_size
11 .type aarch64_size,%function
12 aarch64_size:
13 .hword half_word
14 .word full_word
15 .dword double_word
16 .xword also_double_word
18 // CHECK-ASM: .p2align 2
19 // CHECK-ASM: .globl aarch64_size
20 // CHECK-ASM: .type aarch64_size,@function
21 // CHECK-ASM: aarch64_size:
22 // CHECK-ASM: .hword half_word
23 // CHECK-ASM: .word full_word
24 // CHECK-ASM: .xword double_word
25 // CHECK-ASM: .xword also_double_word
27 // CHECK-OBJ: Section {
28 // CHECK-OBJ: Name: .size.aarch64_size
29 // CHECK-OBJ: SectionData (
30 // CHECK-OBJ-NEXT: 0000: 00000000 00000000 00000000 00000000 |................|
31 // CHECK-OBJ-NEXT: 0010: 00000000 0000 |......|
32 // CHECK-OBJ-NEXT: )
34 // CHECK-SYMS: 0000000000000000 .size.aarch64_size 00000000 $d.0
35 // CHECK-SYMS: 0000000000000000 g F .size.aarch64_size 00000000 aarch64_size
36 // CHECK-SYMS: 0000000000000000 *UND* 00000000 also_double_word
37 // CHECK-SYMS: 0000000000000000 *UND* 00000000 double_word
38 // CHECK-SYMS: 0000000000000000 *UND* 00000000 full_word
39 // CHECK-SYMS: 0000000000000000 *UND* 00000000 half_word