On 10 December 2013 17:43, Joerg Sonnenberger <joerg at britannica.bec.de> wrote:> At least either .march or .cpu is required for dealing with the infamous > "you have the wrong CPU to use instruction X" issue. I'm not sure about > .fpu yet.I think patches for those have already landed upstream...>> I think David fixed these in r196424.Yup. cheers, --renato
On 10 December 2013 17:53, Renato Golin <renato.golin at linaro.org> wrote:> I think patches for those have already landed upstream...My bad, they haven't: http://llvm-reviews.chandlerc.com/D2133 .fpu shouldn't make much difference if the correct build attributes are there, but AFAIK, LLVM outputs .fpu/.cpu reasonably well (haven't looked at all the cases), so having .arch should cover all major problems. cheers, --renato