I am not using llvm tools, but sources and directly calling into relevant LLVM classes and methods. Thanks, Daman On 23/06/14 4:11 pm, "Amara Emerson" <amara.emerson at gmail.com> wrote:>Hi Damanjit, > >I assume you're trying to use the tools like llvm-mc, in which case >you can use the -mattr=+vfpv3 flag to enable it. This applies to other >subtarget features defined in ARM.td as well. > >Cheers, >Amara > >On 23 June 2014 11:27, Damanjit Singh <dsingh at adobe.com> wrote: >> How can I ensure use of VFP3 via LLVM target options? I am currently >>using >> thumbv7-windows-msvc as the target triple and default set of >> llvm::TargetOptions. >> >> Thanks, >> Daman >> >> _______________________________________________ >> LLVM Developers mailing list >> LLVMdev at cs.uiuc.edu http://llvm.cs.uiuc.edu >> http://lists.cs.uiuc.edu/mailman/listinfo/llvmdev >>
Also tried via tools. It says - "+vfpv3' is not a recognized feature for this target (ignoring feature) My command line was - i686-apple-darwin11-llc -mtriple=thumbv7-windows-msvc -function-sections -data-sections -O0 -mattr=+vfpv3 -filetype=obj aotInfo.ll -Daman On 23/06/14 4:16 pm, "Damanjit Singh" <dsingh at adobe.com> wrote:>I am not using llvm tools, but sources and directly calling into relevant >LLVM classes and methods. > >Thanks, >Daman > >On 23/06/14 4:11 pm, "Amara Emerson" <amara.emerson at gmail.com> wrote: > >>Hi Damanjit, >> >>I assume you're trying to use the tools like llvm-mc, in which case >>you can use the -mattr=+vfpv3 flag to enable it. This applies to other >>subtarget features defined in ARM.td as well. >> >>Cheers, >>Amara >> >>On 23 June 2014 11:27, Damanjit Singh <dsingh at adobe.com> wrote: >>> How can I ensure use of VFP3 via LLVM target options? I am currently >>>using >>> thumbv7-windows-msvc as the target triple and default set of >>> llvm::TargetOptions. >>> >>> Thanks, >>> Daman >>> >>> _______________________________________________ >>> LLVM Developers mailing list >>> LLVMdev at cs.uiuc.edu http://llvm.cs.uiuc.edu >>> http://lists.cs.uiuc.edu/mailman/listinfo/llvmdev >>> >
Oh my bad, vfp3 works, instead of vfpv3. -Daman On 23/06/14 4:39 pm, "Damanjit Singh" <dsingh at adobe.com> wrote:>Also tried via tools. It says - "+vfpv3' is not a recognized feature for >this target (ignoring feature) > >My command line was - i686-apple-darwin11-llc >-mtriple=thumbv7-windows-msvc -function-sections -data-sections -O0 >-mattr=+vfpv3 -filetype=obj aotInfo.ll > >-Daman > >On 23/06/14 4:16 pm, "Damanjit Singh" <dsingh at adobe.com> wrote: > >>I am not using llvm tools, but sources and directly calling into relevant >>LLVM classes and methods. >> >>Thanks, >>Daman >> >>On 23/06/14 4:11 pm, "Amara Emerson" <amara.emerson at gmail.com> wrote: >> >>>Hi Damanjit, >>> >>>I assume you're trying to use the tools like llvm-mc, in which case >>>you can use the -mattr=+vfpv3 flag to enable it. This applies to other >>>subtarget features defined in ARM.td as well. >>> >>>Cheers, >>>Amara >>> >>>On 23 June 2014 11:27, Damanjit Singh <dsingh at adobe.com> wrote: >>>> How can I ensure use of VFP3 via LLVM target options? I am currently >>>>using >>>> thumbv7-windows-msvc as the target triple and default set of >>>> llvm::TargetOptions. >>>> >>>> Thanks, >>>> Daman >>>> >>>> _______________________________________________ >>>> LLVM Developers mailing list >>>> LLVMdev at cs.uiuc.edu http://llvm.cs.uiuc.edu >>>> http://lists.cs.uiuc.edu/mailman/listinfo/llvmdev >>>> >> >