<div dir="ltr"><div class="gmail_extra"><div class="gmail_quote">On Tue, Feb 10, 2015 at 9:16 PM, Renato Golin <span dir="ltr"><<a href="mailto:renato.golin@linaro.org" target="_blank">renato.golin@linaro.org</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex">That would be an ugly workaround in multiple compilers for an already<br>
ugly implementation in one compiler (clang). Not to mention that you'd<br>
upset the gcc community for a problem that is clearly in Clang. :)<br></blockquote><div><br></div><div>FWIW, the -mcpu=generic-arch for is already supported in GCC.  I should</div><div>have been clearer about that:</div><div><br></div><div>* <a href="https://gcc.gnu.org/onlinedocs/gcc-4.9.2/gcc/ARM-Options.html#ARM-Options">https://gcc.gnu.org/onlinedocs/gcc-4.9.2/gcc/ARM-Options.html#ARM-Options</a></div><div> </div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex">
We have tried improving the driver to be better at this for the last 5<br>
years with little success, and with increasing complexity, the costs<br>
of doing so will only increase. I have a plan to work on how cpus and<br>
fpus are parsed, which could help you in the long term (by making the<br>
refactoring simpler), but even that I'm finding hard to get to... :(<br></blockquote><div><br></div><div>I am interested in hearing more about that and could possibly help.</div><div> </div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex">
However, I can't think of any quick solution to your problem other<br>
then compile it twice using armv7a and armv7m for -march.<br>
<br>
Sorry if that sounds negative, but there seems to not be enough<br>
interest in the rest of the community to make this refactoring a<br>
priority, so it'll probably happen slower than you'd want... :/<br></blockquote><div><br></div><div>Not negative, just the facts :-)  Thanks for the reply! </div></div><div><br></div><div>-- Meador</div>
</div></div>