<html>
    <head>
      <base href="http://llvm.org/bugs/" />
    </head>
    <body><span class="vcard"><a class="email" href="mailto:chh@google.com" title="Chih-Hung Hsieh <chh@google.com>"> <span class="fn">Chih-Hung Hsieh</span></a>
</span> changed
              <a class="bz_bug_link 
          bz_status_RESOLVED  bz_closed"
   title="RESOLVED INVALID - movaps used for unaligned memory -march=slm -m32"
   href="http://llvm.org/bugs/show_bug.cgi?id=22756">bug 22756</a>
        <br>
             <table border="1" cellspacing="0" cellpadding="8">
          <tr>
            <th>What</th>
            <th>Removed</th>
            <th>Added</th>
          </tr>

         <tr>
           <td style="text-align:right;">Status</td>
           <td>NEW
           </td>
           <td>RESOLVED
           </td>
         </tr>

         <tr>
           <td style="text-align:right;">Resolution</td>
           <td>---
           </td>
           <td>INVALID
           </td>
         </tr></table>
      <p>
        <div>
            <b><a class="bz_bug_link 
          bz_status_RESOLVED  bz_closed"
   title="RESOLVED INVALID - movaps used for unaligned memory -march=slm -m32"
   href="http://llvm.org/bugs/show_bug.cgi?id=22756#c1">Comment # 1</a>
              on <a class="bz_bug_link 
          bz_status_RESOLVED  bz_closed"
   title="RESOLVED INVALID - movaps used for unaligned memory -march=slm -m32"
   href="http://llvm.org/bugs/show_bug.cgi?id=22756">bug 22756</a>
              from <span class="vcard"><a class="email" href="mailto:chh@google.com" title="Chih-Hung Hsieh <chh@google.com>"> <span class="fn">Chih-Hung Hsieh</span></a>
</span></b>
        <pre>Actually the error was not in the movaps instruction but the stack alignment.
The test case was reduced from Android Open Source, which has some module not
compiled with 16-byte stack alignment. Although the local variable tmp was
allocated with 16-byte alignment on the stack, the stack pointer was not.
The way to make such case work is to compile with the -mstackrealign flag.</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>