<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][gfx7] v_mac_f32_e64 -- assertions"
   href="https://llvm.org/bugs/show_bug.cgi?id=28209">28209</a>
          </td>
        </tr>

        <tr>
          <th>Summary</th>
          <td>[mc][gfx7] v_mac_f32_e64 -- assertions
          </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>normal
          </td>
        </tr>

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

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

        <tr>
          <th>Assignee</th>
          <td>artem.tamazov@amd.com
          </td>
        </tr>

        <tr>
          <th>Reporter</th>
          <td>artem.tamazov@amd.com
          </td>
        </tr>

        <tr>
          <th>CC</th>
          <td>llvm-bugs@lists.llvm.org, nikolay.haustov@amd.com
          </td>
        </tr>

        <tr>
          <th>Classification</th>
          <td>Unclassified
          </td>
        </tr></table>
      <p>
        <div>
        <pre>Created <span class=""><a href="attachment.cgi?id=16598" name="attach_16598" title="00956.tests_tg_gfx7_asm_lit1_bug.06.08.min.v_mac_f32_e64.zip">attachment 16598</a> <a href="attachment.cgi?id=16598&action=edit" title="00956.tests_tg_gfx7_asm_lit1_bug.06.08.min.v_mac_f32_e64.zip">[details]</a></span>
00956.tests_tg_gfx7_asm_lit1_bug.06.08.min.v_mac_f32_e64.zip

Example of failing instruction:
<span class="quote">> v_mac_f32_e64 v0, s0, s0</span >

Output:
<span class="quote">> ...note: parsed instruction: ['v_mac_f32', <register 202 mods: abs:0 neg: 0 sext:0>, <register 202 mods: abs:0 neg: 0 sext:0>, <register 86 mods: abs:0 neg : 0 sext:0>]
> v_mac_f32 v0, v0, s0
> ^
> Assertion failed: idx < size(), file C:\work-1\asm-git-1\llvm\include\llvm/ADT/SmallVector.h, line 150
> Wrote crash dump file "C:\Users\atamazov\AppData\Local\Temp\llvm-mc.exe-37c905.dmp"
> #0 0x00b57879 (C:\work-1\asm-git-1\build\Debug\bin\llvm-mc.exe+0x1e7879)
> #1 0x68b7f7f9 (C:\Windows\system32\MSVCR120D.dll+0x13f7f9)
> #2 0x68b8b284 (C:\Windows\system32\MSVCR120D.dll+0x14b284)</span >

Tested with r273139 (git # 4a94acfea8bfd6eb6b5809dd40f03e1fa42e673a)

GFX7 lit tests attached.</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>