[ARM] Cortex-M4 schedule additions
[llvm-complete.git] / test / CodeGen / ARM / deprecated-asm.s
blob465da40c1c1456b928da06582cec648b70c3b076
1 // REQUIRES: asserts
2 // RUN: llvm-mc < %s -triple=armv4t-linux-gnueabi -filetype=obj -o %t.o -no-deprecated-warn -stats 2>&1 | FileCheck %s
3 // RUN: llvm-mc < %s -triple=armv4t-linux-gnueabi -filetype=obj -o %t.o 2>&1 | FileCheck %s -check-prefix=WARN
5 .text
6 .syntax unified
7 .eabi_attribute 67, "2.09" @ Tag_conformance
8 .cpu arm7tdmi
9 .eabi_attribute 6, 2 @ Tag_CPU_arch
10 .eabi_attribute 8, 1 @ Tag_ARM_ISA_use
11 .eabi_attribute 17, 1 @ Tag_ABI_PCS_GOT_use
12 .eabi_attribute 20, 1 @ Tag_ABI_FP_denormal
13 .eabi_attribute 21, 1 @ Tag_ABI_FP_exceptions
14 .eabi_attribute 23, 3 @ Tag_ABI_FP_number_model
15 .eabi_attribute 34, 0 @ Tag_CPU_unaligned_access
16 .eabi_attribute 24, 1 @ Tag_ABI_align_needed
17 .eabi_attribute 25, 1 @ Tag_ABI_align_preserved
18 .eabi_attribute 38, 1 @ Tag_ABI_FP_16bit_format
19 .eabi_attribute 18, 4 @ Tag_ABI_PCS_wchar_t
20 .eabi_attribute 26, 2 @ Tag_ABI_enum_size
21 .eabi_attribute 14, 0 @ Tag_ABI_PCS_R9_use
22 .file "t.c"
23 .globl foo
24 .p2align 2
25 .type foo,%function
26 foo: @ @foo
27 .fnstart
28 @ %bb.0: @ %entry
29 mov r0, #0
30 bx lr
31 stmia r4!, {r12-r14}
32 .Lfunc_end0:
33 .Ltmp0:
34 .size foo, .Ltmp0-foo
35 .cantunwind
36 .fnend
40 // CHECK: Statistic
41 // CHECK-NOT: warning
43 // WARN: warning