<html>
    <head>
      <base href="https://bugs.llvm.org/">
    </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 - Several Mips, X86 CodeGen tests FAIL on Solaris/sparcv9"
   href="https://bugs.llvm.org/show_bug.cgi?id=47731">47731</a>
          </td>
        </tr>

        <tr>
          <th>Summary</th>
          <td>Several Mips, X86 CodeGen tests FAIL on Solaris/sparcv9
          </td>
        </tr>

        <tr>
          <th>Product</th>
          <td>libraries
          </td>
        </tr>

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

        <tr>
          <th>Hardware</th>
          <td>Sun
          </td>
        </tr>

        <tr>
          <th>OS</th>
          <td>Solaris
          </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>Common Code Generator Code
          </td>
        </tr>

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

        <tr>
          <th>Reporter</th>
          <td>ro@gcc.gnu.org
          </td>
        </tr>

        <tr>
          <th>CC</th>
          <td>efriedma@quicinc.com, llvm-bugs@lists.llvm.org
          </td>
        </tr></table>
      <p>
        <div>
        <pre>Several Mips and X86 CodeGen tests FAIL on Solaris/sparcv9:

  LLVM :: CodeGen/Mips/cconv/vector.ll
  LLVM :: CodeGen/Mips/msa/basic_operations.ll
  LLVM :: CodeGen/Mips/msa/i5-b.ll
  LLVM :: CodeGen/Mips/msa/immediates.ll
  LLVM :: CodeGen/X86/fp-intrinsics.ll
  LLVM :: CodeGen/X86/known-signbits-vector.ll
  LLVM :: CodeGen/X86/vec_shift5.ll
  LLVM :: CodeGen/X86/vector-shift-ashr-128.ll
  LLVM :: CodeGen/X86/vector-shift-ashr-256.ll

This only happens in 2-stage Release and RelWithDebInfo builds, 2-stage Debug
builds and 1-stage Release builds with gcc are fine.

Sometimes the differences are quite small, e.g. for
CodeGen/Mips/cconv/vector.ll:

--- vector.s.amd64      2020-10-05 18:21:13.102487784 +0000
+++ vector.s.sparcv9    2020-10-05 18:21:05.775611488 +0000
@@ -1548,7 +1548,7 @@
        sw      $ra, 36($sp)                    # 4-byte Folded Spill
        .cfi_offset 31, -4
        lui     $1, 6
-       ori     $1, $1, 7
+       ori     $1, $1, 10
        lui     $2, 9
        ori     $2, $2, 10
        fill.w  $w0, $2

In other cases the differences are quite substantial.  I have no idea where
even
to start investigating this, so I'll need much guidance here.</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>