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
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
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
I am not using llvm tools, but sources and directly calling into relevant
LLVM classes and methods.
Thanks,
Daman
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
Oh my bad, vfp3 works, instead of vfpv3.
-Daman