<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][DOC] Correct description of MIMG address alignment"
   href="https://bugs.llvm.org/show_bug.cgi?id=51388">51388</a>
          </td>
        </tr>

        <tr>
          <th>Summary</th>
          <td>[AMDGPU][MC][GFX10][DOC] Correct description of MIMG address alignment
          </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>For historical reasons MIMG address operand size must be aligned to be 16 (for
sizes greater than 8) or 8 (for sizes in the range from 5 to 7). However,
recent changes made alignment unnecessary for GFX10. See the following commits:

  <a href="https://reviews.llvm.org/D103672">https://reviews.llvm.org/D103672</a>
  <a href="https://reviews.llvm.org/D103800">https://reviews.llvm.org/D103800</a>
  <a href="https://reviews.llvm.org/D103733">https://reviews.llvm.org/D103733</a>

This should be reflected in assembler description. For example, see the
description of vaddr operand of image_atomic_add:

  <a href="https://llvm.org/docs/AMDGPU/AMDGPUAsmGFX10.html#mimg">https://llvm.org/docs/AMDGPU/AMDGPUAsmGFX10.html#mimg</a>

The description states that "the size is 1, 2, 3, 4, 8 or 16 dwords. Note that
assembler currently supports a limited range of register sequences." This is no
longer valid.</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>