llvm/test/tools/llvm-objdump/ARM/v6-subfeatures.s
Sam Parker 56e5bde913 [ARM] Create SubtargetFeatures from build attrs
An ELFObjectFile can now create SubtargetFeatures from the available
ARM build attributes, in a similar manner to MIPS. I've moved the
MIPS code into its own function and the ARM handler also has a
separate function.

Differential Revision: https://reviews.llvm.org/D28291



git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@292403 91177308-0d34-0410-b5e6-96231b3b80d8
2017-01-18 15:52:11 +00:00

10 lines
237 B
ArmAsm

@ RUN: llvm-mc < %s -triple armv6 -mattr=+vfp2 -filetype=obj | llvm-objdump -triple=arm -d - | FileCheck %s
.eabi_attribute Tag_FP_arch, 2 // VFP2
vfp2:
vadd.f32 s0, s1, s2
@CHECK-LABEL: vfp2
@CHECK: 81 0a 30 ee vadd.f32 s0, s1, s2