mirror of
https://github.com/RPCS3/llvm.git
synced 2025-05-15 09:56:02 +00:00

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
10 lines
237 B
ArmAsm
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
|