[DAGCombiner] Add target hook function to decide folding (mul (add x, c1), c2)
[llvm-project.git] / llvm / test / MC / ARM / directives-case_insensitive.s
blobcde125adf96df0689c37e685d7a91c25b43206bf
1 // RUN: llvm-mc -triple armv7-eabi -filetype asm -o - %s 2>&1 | FileCheck %s
3 .WORD 0x12345678
4 # CHECK: .long 305419896
6 .SHORT 0x1234
7 # CHECK: .short 4660
9 .HWORD 0x3456
10 # CHECK: .short 13398
12 .ARM
13 # CHECK: .code 32
15 .THUMB_FUNC
17 .CODE 32
18 # CHECK: .code 32
20 .SYNTAX unified
22 foo .REQ r5
23 .UNREQ foo
25 .FNSTART
26 # CHECK: .fnstart
27 .CANTUNWIND
28 # CHECK: .cantunwind
29 .FNEND
30 # CHECK: .fnend
32 .FNSTART
33 # CHECK: .fnstart
34 .UNWIND_RAW 4, 0xb1, 0x01
35 # CHECK: .unwind_raw 4, 0xb1, 0x1
36 .PERSONALITY __gxx_personality_v0
37 # CHECK: .personality __gxx_personality_v0
38 .HANDLERDATA
39 # CHECK: .handlerdata
40 .FNEND
41 # CHECK: .fnend
43 .FNSTART
44 # CHECK: .fnstart
45 .MOVSP r7
46 # CHECK: .movsp r7
47 .PERSONALITYINDEX 0
48 # CHECK: .personalityindex 0
49 .PAD #16
50 # CHECK: .pad #16
51 .SETFP r11, sp, #8
52 # CHECK: .setfp r11, sp, #8
53 .SAVE {r4, r5, r11, lr}
54 # CHECK: .save {r4, r5, r11, lr}
55 .VSAVE {d0}
56 # CHECK: .vsave {d0}
57 .FNEND
58 # CHECK: .fnend
60 .LTORG
62 .POOL
64 .EVEN
65 # CHECK: .p2align 1
67 .ALIGN 2
68 # CHECK: .p2align 2
70 .ARCH armv8-a
71 # CHECK: .arch armv8-a
72 .ARCH_EXTENSION crc
74 .CPU cortex-a8
75 # CHECK: .cpu cortex-a8
76 .EABI_ATTRIBUTE Tag_CPU_name, "cortex-a9"
77 # CHECK: .cpu cortex-a9
79 .THUMB_SET bar, 1
80 # CHECK: .thumb_set bar, 1
82 .INST 0x87654321
83 # CHECK: .inst 0x87654321
84 .THUMB
85 # CHECK: .code 16
86 .INST.N 0xCAFE
87 # CHECK: .inst.n 0xcafe
88 .INST.W 0x44445555
89 # CHECK: .inst.w 0x44445555
91 .FPU neon
92 # CHECK: .fpu neon
94 .TLSDESCSEQ variable
95 # CHECK: .tlsdescseq variable
97 .OBJECT_ARCH armv8
98 # CHECK: .object_arch armv8-a