<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 - [AMDGPU][MC][GFX10] GLOBAL and FLAT atomics discard dlc modifier"
   href="https://bugs.llvm.org/show_bug.cgi?id=51717">51717</a>
          </td>
        </tr>

        <tr>
          <th>Summary</th>
          <td>[AMDGPU][MC][GFX10] GLOBAL and FLAT atomics discard dlc modifier
          </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>d-pre@mail.ru
          </td>
        </tr>

        <tr>
          <th>CC</th>
          <td>llvm-bugs@lists.llvm.org
          </td>
        </tr></table>
      <p>
        <div>
        <pre>GLOBAL and FLAT atomics accept dlc modifier but it is silently discarded. 

An example:

    flat_atomic_add v[1:2], v2
    flat_atomic_add v[1:2], v2 dlc

Both instructions are assembled into the same code with zero dlc bit:

    0x00,0x00,0xc8,0xdc,0x01,0x02,0x7d,0x00

AMD documentation does not describe any limitations on use of dlc with atomics
so the questions are:

    1. Is dlc discarded on purpose?
    2. If yes, should validator be corrected to trigger an error for atomics
with dlc?</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>