<html><head></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; ">Hello LLVMer,<div><br></div><div>I am currently developing a backend targeting a stack-based VM,</div><div>When compiling with targeting to the VM, I got a bunch of outputs below.</div><div>Where in code do I miss to add to get rid of these warnings?</div><div><br></div><div><div>'-sse4a' is not a recognized feature for this target (ignoring feature)</div><div>'-avx2' is not a recognized feature for this target (ignoring feature)</div><div>'-xop' is not a recognized feature for this target (ignoring feature)</div><div>'-fma4' is not a recognized feature for this target (ignoring feature)</div><div>'-bmi2' is not a recognized feature for this target (ignoring feature)</div><div>'-3dnow' is not a recognized feature for this target (ignoring feature)</div><div>'-3dnowa' is not a recognized feature for this target (ignoring feature)</div><div>'-pclmul' is not a recognized feature for this target (ignoring feature)</div></div><div>.....</div><div><br></div><div>The processor I used is generic, </div><div><div style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; font: normal normal normal 11px/normal Menlo; ">def : Processor<"generic", NoItineraries, []>;</div></div><div><br></div><div>I used lldb to trace the code and didn't find it ran into <span class="Apple-style-span" style="font-family: monospace; white-space: pre; ">::</span><span class="Apple-style-span" style="font-family: monospace; white-space: pre; "><a class="xf" name="ToggleFeature" style="text-decoration: none; color: rgb(0, 0, 255); font-weight: bold;"></a></span><span class="Apple-style-span" style="font-family: monospace; white-space: pre; "><a href="http://alchemybase:8080/source/s?refs=ToggleFeature&project=llvm-3.2" class="xf" style="text-decoration: none; color: rgb(0, 0, 255); font-weight: bold;">ToggleFeature</a>()</span></div><div><span class="Apple-style-span" style="font-family: monospace; white-space: pre; ">or </span><span class="Apple-style-span" style="font-family: monospace; white-space: pre; "><a class="d" href="http://alchemybase:8080/source/xref/llvm-3.2/lib/MC/SubtargetFeature.cpp#SubtargetFeatures" style="text-decoration: underline; color: rgb(153, 0, 153); font-weight: bold;">SubtargetFeatures</a>::<a class="xf" name="getFeatureBits" style="text-decoration: none; color: rgb(0, 0, 255); font-weight: bold;"></a><a href="http://alchemybase:8080/source/s?refs=getFeatureBits&project=llvm-3.2" class="xf" style="text-decoration: none; color: rgb(0, 0, 255); font-weight: bold;">getFeatureBits</a>() from where I see the warning string comes.</span></div><div><br></div><div>Any guide or suggestion is appreciated! </div><div>Thanks in advanced!</div><div>-ye</div><div><br></div><div><br></div></body></html>