1 @ RUN
: llvm-mc
-triple armv7-elf
-filetype asm
-o
- %s | FileCheck
%s
2 @ RUN
: llvm-mc
-triple armv7-eabi
-filetype obj
-o
- %s \
3 @ RUN
: | llvm-readobj
--arm-attributes
- | FileCheck
%s
--check-prefix
=CHECK-OBJ
4 .eabi_attribute Tag_CPU_arch, 0
5 @CHECK
: .eabi_attribute 6, 0
7 @CHECK-OBJ-NEXT
: Value
: 0
8 @CHECK-OBJ-NEXT
: TagName
: CPU_arch
9 @CHECK-OBJ-NEXT
: Description
: Pre-v4
11 .eabi_attribute Tag_CPU_arch_profile, 0
12 @CHECK
: .eabi_attribute 7, 0
14 @CHECK-OBJ-NEXT
: Value
: 0
15 @CHECK-OBJ-NEXT
: TagName
: CPU_arch_profile
16 @CHECK-OBJ-NEXT
: Description
: None
18 .eabi_attribute Tag_ARM_ISA_use, 0
19 @CHECK
: .eabi_attribute 8, 0
21 @CHECK-OBJ-NEXT
: Value
: 0
22 @CHECK-OBJ-NEXT
: TagName
: ARM_ISA_use
23 @CHECK-OBJ-NEXT
: Description
: Not Permitted
25 .eabi_attribute Tag_THUMB_ISA_use, 0
26 @CHECK
: .eabi_attribute 9, 0
28 @CHECK-OBJ-NEXT
: Value
: 0
29 @CHECK-OBJ-NEXT
: TagName
: THUMB_ISA_use
30 @CHECK-OBJ-NEXT
: Description
: Not Permitted
32 .eabi_attribute Tag_FP_arch, 0
33 @CHECK
: .eabi_attribute 10, 0
35 @CHECK-OBJ-NEXT
: Value
: 0
36 @CHECK-OBJ-NEXT
: TagName
: FP_arch
37 @CHECK-OBJ-NEXT
: Description
: Not Permitted
39 .eabi_attribute Tag_WMMX_arch, 0
40 @CHECK
: .eabi_attribute 11, 0
42 @CHECK-OBJ-NEXT
: Value
: 0
43 @CHECK-OBJ-NEXT
: TagName
: WMMX_arch
44 @CHECK-OBJ-NEXT
: Description
: Not Permitted
46 .eabi_attribute Tag_Advanced_SIMD_arch, 0
47 @CHECK
: .eabi_attribute 12, 0
49 @CHECK-OBJ-NEXT
: Value
: 0
50 @CHECK-OBJ-NEXT
: TagName
: Advanced_SIMD_arch
51 @CHECK-OBJ-NEXT
: Description
: Not Permitted
53 .eabi_attribute Tag_PCS_config, 0
54 @CHECK
: .eabi_attribute 13, 0
56 @CHECK-OBJ-NEXT
: Value
: 0
57 @CHECK-OBJ-NEXT
: TagName
: PCS_config
58 @CHECK-OBJ-NEXT
: Description
: None
60 .eabi_attribute Tag_ABI_PCS_R9_use, 0
61 @CHECK
: .eabi_attribute 14, 0
63 @CHECK-OBJ-NEXT
: Value
: 0
64 @CHECK-OBJ-NEXT
: TagName
: ABI_PCS_R9_use
65 @CHECK-OBJ-NEXT
: Description
: v6
67 .eabi_attribute Tag_ABI_PCS_RW_data, 0
68 @CHECK
: .eabi_attribute 15, 0
70 @CHECK-OBJ-NEXT
: Value
: 0
71 @CHECK-OBJ-NEXT
: TagName
: ABI_PCS_RW_data
72 @CHECK-OBJ-NEXT
: Description
: Absolute
74 .eabi_attribute Tag_ABI_PCS_RO_data, 0
75 @CHECK
: .eabi_attribute 16, 0
77 @CHECK-OBJ-NEXT
: Value
: 0
78 @CHECK-OBJ-NEXT
: TagName
: ABI_PCS_RO_data
79 @CHECK-OBJ-NEXT
: Description
: Absolute
81 .eabi_attribute Tag_ABI_PCS_GOT_use, 0
82 @CHECK
: .eabi_attribute 17, 0
84 @CHECK-OBJ-NEXT
: Value
: 0
85 @CHECK-OBJ-NEXT
: TagName
: ABI_PCS_GOT_use
86 @CHECK-OBJ-NEXT
: Description
: Not Permitted
88 .eabi_attribute Tag_ABI_PCS_wchar_t, 0
89 @CHECK
: .eabi_attribute 18, 0
91 @CHECK-OBJ-NEXT
: Value
: 0
92 @CHECK-OBJ-NEXT
: TagName
: ABI_PCS_wchar_t
93 @CHECK-OBJ-NEXT
: Description
: Not Permitted
95 .eabi_attribute Tag_ABI_FP_rounding, 0
96 @CHECK
: .eabi_attribute 19, 0
98 @CHECK-OBJ-NEXT
: Value
: 0
99 @CHECK-OBJ-NEXT
: TagName
: ABI_FP_rounding
100 @CHECK-OBJ-NEXT
: Description
: IEEE-
754
102 .eabi_attribute Tag_ABI_FP_denormal, 0
103 @CHECK
: .eabi_attribute 20, 0
105 @CHECK-OBJ-NEXT
: Value
: 0
106 @CHECK-OBJ-NEXT
: TagName
: ABI_FP_denormal
107 @CHECK-OBJ-NEXT
: Description
: Unsupported
109 .eabi_attribute Tag_ABI_FP_exceptions, 0
110 @CHECK
: .eabi_attribute 21, 0
112 @CHECK-OBJ-NEXT
: Value
: 0
113 @CHECK-OBJ-NEXT
: TagName
: ABI_FP_exceptions
114 @CHECK-OBJ-NEXT
: Description
: Not Permitted
116 .eabi_attribute Tag_ABI_FP_user_exceptions, 0
117 @CHECK
: .eabi_attribute 22, 0
119 @CHECK-OBJ-NEXT
: Value
: 0
120 @CHECK-OBJ-NEXT
: TagName
: ABI_FP_user_exceptions
121 @CHECK-OBJ-NEXT
: Description
: Not Permitted
123 .eabi_attribute Tag_ABI_FP_number_model, 0
124 @CHECK
: .eabi_attribute 23, 0
126 @CHECK-OBJ-NEXT
: Value
: 0
127 @CHECK-OBJ-NEXT
: TagName
: ABI_FP_number_model
128 @CHECK-OBJ-NEXT
: Description
: Not Permitted
130 .eabi_attribute Tag_ABI_align_needed, 0
131 @CHECK
: .eabi_attribute 24, 0
133 @CHECK-OBJ-NEXT
: Value
: 0
134 @CHECK-OBJ-NEXT
: TagName
: ABI_align_needed
135 @CHECK-OBJ-NEXT
: Description
: Not Permitted
137 .eabi_attribute Tag_ABI_align_preserved, 0
138 @CHECK
: .eabi_attribute 25, 0
140 @CHECK-OBJ-NEXT
: Value
: 0
141 @CHECK-OBJ-NEXT
: TagName
: ABI_align_preserved
142 @CHECK-OBJ-NEXT
: Description
: Not Required
144 .eabi_attribute Tag_ABI_enum_size, 0
145 @CHECK
: .eabi_attribute 26, 0
147 @CHECK-OBJ-NEXT
: Value
: 0
148 @CHECK-OBJ-NEXT
: TagName
: ABI_enum_size
149 @CHECK-OBJ-NEXT
: Description
: Not Permitted
151 .eabi_attribute Tag_ABI_HardFP_use, 0
152 @CHECK
: .eabi_attribute 27, 0
154 @CHECK-OBJ-NEXT
: Value
: 0
155 @CHECK-OBJ-NEXT
: TagName
: ABI_HardFP_use
156 @CHECK-OBJ-NEXT
: Description
: Tag_FP_arch
158 .eabi_attribute Tag_ABI_VFP_args, 0
159 @CHECK
: .eabi_attribute 28, 0
161 @CHECK-OBJ-NEXT
: Value
: 0
162 @CHECK-OBJ-NEXT
: TagName
: ABI_VFP_args
163 @CHECK-OBJ-NEXT
: Description
: AAPCS
165 .eabi_attribute Tag_ABI_WMMX_args, 0
166 @CHECK
: .eabi_attribute 29, 0
168 @CHECK-OBJ-NEXT
: Value
: 0
169 @CHECK-OBJ-NEXT
: TagName
: ABI_WMMX_args
170 @CHECK-OBJ-NEXT
: Description
: AAPCS
172 .eabi_attribute Tag_ABI_optimization_goals, 0
173 @CHECK
: .eabi_attribute 30, 0
175 @CHECK-OBJ-NEXT
: Value
: 0
176 @CHECK-OBJ-NEXT
: TagName
: ABI_optimization_goals
177 @CHECK-OBJ-NEXT
: Description
: None
179 .eabi_attribute Tag_ABI_FP_optimization_goals, 0
180 @CHECK
: .eabi_attribute 31, 0
182 @CHECK-OBJ-NEXT
: Value
: 0
183 @CHECK-OBJ-NEXT
: TagName
: ABI_FP_optimization_goals
184 @CHECK-OBJ-NEXT
: Description
: None
186 .eabi_attribute Tag_compatibility, 0, "ARM"
187 @CHECK
: .eabi_attribute 32, 0
189 @CHECK-OBJ-NEXT
: Value
: 0, ARM
190 @CHECK-OBJ-NEXT
: TagName
: compatibility
191 @CHECK-OBJ-NEXT
: Description
: No Specific Requirements
193 .eabi_attribute Tag_CPU_unaligned_access, 0
194 @CHECK
: .eabi_attribute 34, 0
196 @CHECK-OBJ-NEXT
: Value
: 0
197 @CHECK-OBJ-NEXT
: TagName
: CPU_unaligned_access
198 @CHECK-OBJ-NEXT
: Description
: Not Permitted
200 .eabi_attribute Tag_FP_HP_extension, 0
201 @CHECK
: .eabi_attribute 36, 0
203 @CHECK-OBJ-NEXT
: Value
: 0
204 @CHECK-OBJ-NEXT
: TagName
: FP_HP_extension
205 @CHECK-OBJ-NEXT
: Description
: If Available
207 .eabi_attribute Tag_ABI_FP_16bit_format, 0
208 @CHECK
: .eabi_attribute 38, 0
210 @CHECK-OBJ-NEXT
: Value
: 0
211 @CHECK-OBJ-NEXT
: TagName
: ABI_FP_16bit_format
212 @CHECK-OBJ-NEXT
: Description
: Not Permitted
214 .eabi_attribute Tag_MPextension_use, 0
215 @CHECK
: .eabi_attribute 42, 0
217 @CHECK-OBJ-NEXT
: Value
: 0
218 @CHECK-OBJ-NEXT
: TagName
: MPextension_use
219 @CHECK-OBJ-NEXT
: Description
: Not Permitted
221 .eabi_attribute Tag_DIV_use, 0
222 @CHECK
: .eabi_attribute 44, 0
224 @CHECK-OBJ-NEXT
: Value
: 0
225 @CHECK-OBJ-NEXT
: TagName
: DIV_use
226 @CHECK-OBJ-NEXT
: Description
: If Available
228 .eabi_attribute Tag_DSP_extension, 0
229 @CHECK
: .eabi_attribute 46, 0
231 @CHECK-OBJ-NEXT
: Value
: 0
232 @CHECK-OBJ-NEXT
: TagName
: DSP_extension
233 @CHECK-OBJ-NEXT
: Description
: Not Permitted
235 .eabi_attribute Tag_Virtualization_use, 0
236 @CHECK
: .eabi_attribute 68, 0
238 @CHECK-OBJ-NEXT
: Value
: 0
239 @CHECK-OBJ-NEXT
: TagName
: Virtualization_use
240 @CHECK-OBJ-NEXT
: Description
: Not Permitted