<html>
    <head>
      <base href="https://bugs.freedesktop.org/" />
    </head>
    <body>
      <p>
        <div>
            <b><a class="bz_bug_link 
          bz_status_NEW "
   title="NEW --- - lp_test_arit fails on non-sse41 capable machines, breaking make check"
   href="https://bugs.freedesktop.org/show_bug.cgi?id=59701#c2">Comment # 2</a>
              on <a class="bz_bug_link 
          bz_status_NEW "
   title="NEW --- - lp_test_arit fails on non-sse41 capable machines, breaking make check"
   href="https://bugs.freedesktop.org/show_bug.cgi?id=59701">bug 59701</a>
              from <span class="vcard"><a class="email" href="mailto:sroland@vmware.com" title="Roland Scheidegger <sroland@vmware.com>"> <span class="fn">Roland Scheidegger</span></a>
</span></b>
        <pre>Hmm fract() is such a mess. The usual definition of fract(x) is sub(x) -
floor(x), and it is expected this returns a number in [0,1[ except it doesn't
actually work due to the funky float math (floor(verysmallnegnumber) is -1.0f
(exact) and the subtraction will be 1.0f (exact) too).
But here it must be floor which is busted, returning 0.0f. In particular ifloor
without rounding available which already does a lot of work to fix results, but
maybe the math doesn't quite work out around 0.0f. In particular I'm not really
sure about that offset constant. Looks to me for denorms it would always be
broken but apparently it fails for values further away from zero too.
(The last two failures with very large numbers are quite expected too I guess
as we're using fp-to-int and back and these values exceed the representable int
range. I can't think of an easy workaround, probably doable with a couple
comparisons, masks etc.)</pre>
        </div>
      </p>
      <hr>
      <span>You are receiving this mail because:</span>
      
      <ul>
          <li>You are the assignee for the bug.</li>
      </ul>
    </body>
</html>