[LLVMbugs] [Bug 22756] movaps used for unaligned memory -march=slm -m32

bugzilla-daemon at llvm.org bugzilla-daemon at llvm.org
Mon Mar 2 18:45:29 PST 2015


http://llvm.org/bugs/show_bug.cgi?id=22756

Chih-Hung Hsieh <chh at google.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|---                         |INVALID

--- Comment #1 from Chih-Hung Hsieh <chh at google.com> ---
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.

-- 
You are receiving this mail because:
You are on the CC list for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-bugs/attachments/20150303/058d5b02/attachment.html>


More information about the llvm-bugs mailing list