<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 --- - [x86] Less optimized multi-byte nop instructions are generated"
   href="https://llvm.org/bugs/show_bug.cgi?id=22965">22965</a>
          </td>
        </tr>

        <tr>
          <th>Summary</th>
          <td>[x86] Less optimized multi-byte nop instructions are generated
          </td>
        </tr>

        <tr>
          <th>Product</th>
          <td>new-bugs
          </td>
        </tr>

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

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

        <tr>
          <th>OS</th>
          <td>Linux
          </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>new bugs
          </td>
        </tr>

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

        <tr>
          <th>Reporter</th>
          <td>hjl.tools@gmail.com
          </td>
        </tr>

        <tr>
          <th>CC</th>
          <td>llvmbugs@cs.uiuc.edu, michael.m.kuperstein@intel.com
          </td>
        </tr>

        <tr>
          <th>Classification</th>
          <td>Unclassified
          </td>
        </tr></table>
      <p>
        <div>
        <pre>Created <span class=""><a href="attachment.cgi?id=14080" name="attach_14080" title="A testcase">attachment 14080</a> <a href="attachment.cgi?id=14080&action=edit" title="A testcase">[details]</a></span>
A testcase

llvm generates multi-byte nop instructions greater than 10 bytes,
which have performance on x86 processors. GNU assembler has been
changed to limit multi-byte nop instructions to 10 bytes:

<a href="https://sourceware.org/ml/binutils/2015-03/msg00260.html">https://sourceware.org/ml/binutils/2015-03/msg00260.html</a>

to avoid nops like:

66 66 66 66 66 66 2e 0f 1f 84 00 00 00 00 00     data16 data16 data16 data16
data16 nopw %cs:0x0(%rax,%rax,1)
66 66 66 66 66 2e 0f 1f 84 00 00 00 00 00     data16 data16 data16 data16
data16 nopw %cs:0x0(%rax,%rax,1)
66 66 66 66 2e 0f 1f 84 00 00 00 00 00     data16 data16 data16 nopw
%cs:0x0(%rax,%rax,1)
66 66 66 2e 0f 1f 84 00 00 00 00 00     data16 data16 nopw %cs:0x0(%rax,%rax,1)
66 66 2e 0f 1f 84 00 00 00 00 00     data16 nopw %cs:0x0(%rax,%rax,1)

llvm should also be updated.</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>