<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 - [mc][gfx9] Missing support for 16-bit renamed/legacy VALU opcodes"
   href="https://bugs.llvm.org/show_bug.cgi?id=33629">33629</a>
          </td>
        </tr>

        <tr>
          <th>Summary</th>
          <td>[mc][gfx9] Missing support for 16-bit renamed/legacy VALU opcodes
          </td>
        </tr>

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

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

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

        <tr>
          <th>OS</th>
          <td>All
          </td>
        </tr>

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

        <tr>
          <th>Severity</th>
          <td>enhancement
          </td>
        </tr>

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

        <tr>
          <th>Component</th>
          <td>Backend: AMDGPU
          </td>
        </tr>

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

        <tr>
          <th>Reporter</th>
          <td>dpreobrazhensky@luxoft.com
          </td>
        </tr>

        <tr>
          <th>CC</th>
          <td>llvm-bugs@lists.llvm.org
          </td>
        </tr></table>
      <p>
        <div>
        <pre>There are several opcodes changed in gfx9:

    - v_mad_f16
    - v_mad_i16
    - v_mad_u16
    - v_fma_f16
    - v_div_fixup_f16
    - v_interp_p2_f16

These opcodes have different semantics and encoding than their gfx8
counterparts. To preserve binary compatibility with gfx8, there is also a bunch
of new 'legacy' opcodes which have gfx8 encoding and semantics:

    - v_mad_legacy_f16
    - v_mad_legacy_u16
    - v_mad_legacy_i16
    - v_fma_legacy_f16
    - v_div_fixup_legacy_f16
    - v_interp_p2_legacy_f16

Current implementation supports only legacy opcodes with old names (without
'legacy' suffix). This is a complete mess. Assembler should support both legacy
and new opcodes with clearer names.</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>