• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1@ RUN: llvm-mc < %s -triple armv7m -mattr=+vfp4 -filetype=obj | llvm-objdump -triple=thumb -d - | FileCheck %s
2
3.eabi_attribute Tag_CPU_arch, 10 // v7
4.eabi_attribute Tag_FP_arch, 0 // VFP4
5
6.thumb
7vfp2:
8  vmla.f32 s0, s1, s2
9
10@CHECK-LABEL: vfp2
11@CHECK-NOT: 00 ee 81 0a vmla.f32 s0, s1, s2
12
13.thumb
14vfp4:
15  vmov.f32 s0, #0.5
16
17@CHECK-LABEL:vfp4
18@CHECK-NOT: b6 ee 00 0a vmov.f32 s0, #5.000000e-01
19