<div dir="ltr">On 7 November 2013 09:53, Evan Cheng <span dir="ltr"><<a href="mailto:evan.cheng@apple.com" target="_blank">evan.cheng@apple.com</a>></span> wrote:<br><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">Can you clarify what you are proposing? Are you proposing that we eliminate the option such as -arch armv7s? If so, the answer is no. This would impact a lot of users negatively.<br>
</blockquote><div><br></div><div>I agree this is not a good idea, nor it should be required on the clang or llvm drivers to spot and A core with MP enabled.</div><div><br></div><div><br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
If you are proposing changes to how the information is communicated between the frontend and backend, then the answer is maybe. You do need to provide a much more concrete proposal that will maintain the functionality.<br>
</blockquote><div></div></div><br></div><div class="gmail_extra">I thought a bit about this a while ago, and my impression was that adding a generic flag -mattr=+mp would do the trick between Clang and LLVM, changing the "a9-mp" CPU name to only a9 and adding the new flag. It should be simple also to map "-mcpu cortex-a9-mp" on the command line to "armv7s" + "cortex-a9" + "-mattr=+mp" options.</div>
<div class="gmail_extra"><br></div><div class="gmail_extra">I can't see how that could impact Darwin in the long term, so I defer to Evan to make sure it won't. ;)</div><div class="gmail_extra"><br></div><div class="gmail_extra">
cheers,</div><div class="gmail_extra">--renato</div></div>