[ARM] A predicate cast of a predicate cast is a predicate cast
[llvm-complete.git] / test / tools / llvm-objdump / ARM / v7a-subfeature.s
blobf43554579a362f4e9244a3f3581109935ad5e519
1 @ RUN: llvm-mc < %s -triple armv7a -mattr=+vfp3,+neon,+fp16,+hwdiv-arm -filetype=obj | llvm-objdump -triple=arm -d - | FileCheck %s
3 .eabi_attribute Tag_FP_arch, 3 // VFP3
4 .eabi_attribute Tag_Advanced_SIMD_arch, 2 // SIMDv1 with fp16
5 .eabi_attribute Tag_DIV_use, 2 // permitted
7 vfp2:
8 vmla.f32 s0, s1, s2
10 @CHECK-LABEL: vfp2
11 @CHECK: 81 0a 00 ee vmla.f32 s0, s1, s2
13 vfp3:
14 vmov.f32 s0, #0.5
16 @CHECK-LABEL: vfp3
17 @CHECK: 00 0a b6 ee vmov.f32 s0, #5.000000e-01
19 neon:
20 vmla.f32 d0, d1, d2
22 @CHECK-LABEL: neon
23 @CHECK: 12 0d 01 f2 vmla.f32 d0, d1, d2
25 fp16:
26 vcvt.f32.f16 q0, d2
28 @CHECK-LABEL: fp16
29 @CHECK: 02 07 b6 f3 vcvt.f32.f16 q0, d2
31 div:
32 udiv r0, r1, r2
34 @CHECK-LABEL: div
35 @CHECK: 11 f2 30 e7 udiv r0, r1, r2