Ye Liu
2013-May-17 08:38 UTC
[LLVMdev] How to get rid of "xxx not a recognized feature for this target" warning?
Hello LLVMer, I am currently developing a backend targeting a stack-based VM, When compiling with targeting to the VM, I got a bunch of outputs below. Where in code do I miss to add to get rid of these warnings? '-sse4a' is not a recognized feature for this target (ignoring feature) '-avx2' is not a recognized feature for this target (ignoring feature) '-xop' is not a recognized feature for this target (ignoring feature) '-fma4' is not a recognized feature for this target (ignoring feature) '-bmi2' is not a recognized feature for this target (ignoring feature) '-3dnow' is not a recognized feature for this target (ignoring feature) '-3dnowa' is not a recognized feature for this target (ignoring feature) '-pclmul' is not a recognized feature for this target (ignoring feature) ..... The processor I used is generic, def : Processor<"generic", NoItineraries, []>; I used lldb to trace the code and didn't find it ran into ::ToggleFeature() or SubtargetFeatures::getFeatureBits() from where I see the warning string comes. Any guide or suggestion is appreciated! Thanks in advanced! -ye -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20130517/380f6f8b/attachment.html>
Apparently Analagous Threads
- [LLVMdev] Question about intrinsic function llvm.objectsize
- invalid code generated on Windows x86_64 using skylake-specific features
- Divide error in kvm_unlock_kick()
- Divide error in kvm_unlock_kick()
- invalid code generated on Windows x86_64 using skylake-specific features