<html>
    <head>
      <base href="https://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 --- - [mc][gfx8] Many f16 insns do not support VOP3 encoding"
   href="https://llvm.org/bugs/show_bug.cgi?id=30524">30524</a>
          </td>
        </tr>

        <tr>
          <th>Summary</th>
          <td>[mc][gfx8] Many f16 insns do not support VOP3 encoding
          </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>Windows NT
          </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>artem.tamazov@amd.com
          </td>
        </tr>

        <tr>
          <th>CC</th>
          <td>andrey.kasaurov@gmail.com, artem.tamazov@amd.com, llvm-bugs@lists.llvm.org, nikolay.haustov@amd.com, sam.kolton@amd.com, valery.pykhtin@gmail.com
          </td>
        </tr>

        <tr>
          <th>Classification</th>
          <td>Unclassified
          </td>
        </tr></table>
      <p>
        <div>
        <pre>Created <span class=""><a href="attachment.cgi?id=17349" name="attach_17349" title="00022.tests_tg_gfx8_asm_lit1_bug.06.24.F16-VOP3-MUST-FAIL.zip">attachment 17349</a> <a href="attachment.cgi?id=17349&action=edit" title="00022.tests_tg_gfx8_asm_lit1_bug.06.24.F16-VOP3-MUST-FAIL.zip">[details]</a></span>
00022.tests_tg_gfx8_asm_lit1_bug.06.24.F16-VOP3-MUST-FAIL.zip

The following instructions do not have e64 (VOP3) encoding:
<span class="quote">> v_add_f16
> v_ceil_f16
> v_cos_f16
> v_exp_f16
> v_fract_f16
> v_cvt_i16_f16
> v_frexp_exp_i16_f16
> v_frexp_mant_f16
> v_ldexp_f16
> v_log_f16
> v_mac_f16
> v_max_f16
> v_min_f16
> v_mul_f16
> v_rcp_f16
> v_rndne_f16
> v_rsq_f16
> v_sin_f16
> v_sqrt_f16
> v_sub_f16
> v_subrev_f16
> v_trunc_f16</span >

Assembly of these instructions with enforced e64 encoding should lead to
errors.
Subsequently, output and input modifiers are not supported as well and should
lead to errors.

Tested with r282249 (git# 3b62127, 2016-09-23 16:35:43 +0300).</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>