<html>
    <head>
      <base href="http://llvm.org/bugs/" />
    </head>
    <body><table border="1" cellspacing="0" cellpadding="8">
        <tr>
          <th>Bug ID</th>
          <td><a class="bz_bug_link 
          bz_status_NEW "
   title="NEW --- - fpcmp skews lines in comparison"
   href="http://llvm.org/bugs/show_bug.cgi?id=15620">15620</a>
          </td>
        </tr>

        <tr>
          <th>Summary</th>
          <td>fpcmp skews lines in comparison
          </td>
        </tr>

        <tr>
          <th>Product</th>
          <td>Test Suite
          </td>
        </tr>

        <tr>
          <th>Version</th>
          <td>trunk
          </td>
        </tr>

        <tr>
          <th>Hardware</th>
          <td>PC
          </td>
        </tr>

        <tr>
          <th>OS</th>
          <td>Linux
          </td>
        </tr>

        <tr>
          <th>Status</th>
          <td>NEW
          </td>
        </tr>

        <tr>
          <th>Severity</th>
          <td>normal
          </td>
        </tr>

        <tr>
          <th>Priority</th>
          <td>P
          </td>
        </tr>

        <tr>
          <th>Component</th>
          <td>Nightly Tester
          </td>
        </tr>

        <tr>
          <th>Assignee</th>
          <td>unassignedbugs@nondot.org
          </td>
        </tr>

        <tr>
          <th>Reporter</th>
          <td>renato.golin@linaro.org
          </td>
        </tr>

        <tr>
          <th>CC</th>
          <td>llvmbugs@cs.uiuc.edu
          </td>
        </tr>

        <tr>
          <th>Classification</th>
          <td>Unclassified
          </td>
        </tr></table>
      <p>
        <div>
        <pre>Created <span class=""><a href="attachment.cgi?id=10251" name="attach_10251" title="fpcmp + conflicting files">attachment 10251</a> <a href="attachment.cgi?id=10251&action=edit" title="fpcmp + conflicting files">[details]</a></span>
fpcmp + conflicting files

The attached example (result from an ARM run of sqlite3) shows that fpcmp is
comparing different lines (one immediate after the other) in both mixed and
pure FP outputs.

$ ./fpcmp -r 1.0e-9 sqlite3.out-nat.fp sqlite3.out-simple.fp 
./fpcmp: Compared: 2.616701e+05 and 2.573593e+05
abs. diff = 4.310775e+03 rel.diff = 1.675002e-02
Out of tolerance: rel/abs: 1.000000e-09/0.000000e+00

$ ./fpcmp -r 1.0e-9 sqlite3.out-nat sqlite3.out-simple
./fpcmp: Compared: 4.910000e+02 and 2.573593e+05
abs. diff = 2.568683e+05 rel.diff = 9.980922e-01
Out of tolerance: rel/abs: 1.000000e-09/0.000000e+00</pre>
        </div>
      </p>
      <hr>
      <span>You are receiving this mail because:</span>
      
      <ul>
          <li>You are on the CC list for the bug.</li>
      </ul>
    </body>
</html>