<div dir="ltr">bump</div><div class="gmail_extra"><br><br><div class="gmail_quote">On 3 April 2013 19:07, 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:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><div>As reported in this bug:</div><div><br></div><a href="http://llvm.org/bugs/show_bug.cgi?id=15620" target="_blank">http://llvm.org/bugs/show_bug.cgi?id=15620</a><br>
<div><br></div><div>fpcmp gets it wrong when comparing floating point numbers.</div>
<div><br></div><div>I found that it happens when comparing numbers with different number of digits, ex:</div><div><br></div><div><div>257359.326881721</div><div>257359.32688172</div><div><br></div>
<div>when fpcmp would compare the number with highest precision with the next one of the low precision.</div><div><br></div><div>The attached patch works around this by rolling back one byte if the difference is in a space AND the previous one is a number. Since only one of the numbers can be at the space (the shorter one), I only roll back one the shorter one.</div>

<div><br></div><div>This patch fixes sqlite3 on ARM and will probably fix on TILE-Gx, too.</div><div><br></div><div>Please review.</div><div><br></div><div>Thanks,</div><div>--renato</div>
</div></div>
</blockquote></div><br></div>