<div dir="ltr">Would it be fair to say that an -march chooses an instruction set, while -mcpu will affect scheduling things such as how many instructions can be run in parallel and their latency etc?<div><br></div><div>I actually use -m32 or -mthumb more than anything else :-)</div><div><br></div></div><div class="gmail_extra"><br><div class="gmail_quote">On Sat, Mar 19, 2016 at 3:38 AM, Eric Christopher via llvm-dev <span dir="ltr"><<a href="mailto:llvm-dev@lists.llvm.org" target="_blank">llvm-dev@lists.llvm.org</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><p dir="ltr">Yes and no. By target here I just mean the architecture being targeted and that most of them use the -march option rather than -mcpu. Which makes what you said a consequence of that. :)</p><div class="HOEnZb"><div class="h5">
<br><div class="gmail_quote"><div dir="ltr">On Fri, Mar 18, 2016, 4:55 PM Rail Shafigulin <<a href="mailto:rail@esenciatech.com" target="_blank">rail@esenciatech.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><div class="gmail_extra"><div class="gmail_quote"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><div class="gmail_quote"><span><div>-Most- targets use -march.<br></div></span><span><font color="#888888"><div><br></div><div>-eric</div></font></span></div></div>
</blockquote></div><br></div></div><div dir="ltr"><div class="gmail_extra">Do you meat that in most cases -target is used along with -march instead of -target and -mcpu?</div></div><div dir="ltr"><div class="gmail_extra"><div><br></div>-- <br><div><div dir="ltr"><div><div dir="ltr"><div>Rail Shafigulin<br></div>Software Engineer <br>Esencia Technologies<br></div></div></div></div>
</div></div></blockquote></div>
</div></div><br>_______________________________________________<br>
LLVM Developers mailing list<br>
<a href="mailto:llvm-dev@lists.llvm.org">llvm-dev@lists.llvm.org</a><br>
<a href="http://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-dev" rel="noreferrer" target="_blank">http://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-dev</a><br>
<br></blockquote></div><br></div>