[cfe-dev] Clang compiler not honoring -mstackrealign

Reid Kleckner rnk at google.com
Fri Feb 20 11:15:20 PST 2015


Can you provide a minimal reproducer that shows Clang failling to align the
stack with mstackrealign?

On Fri, Feb 20, 2015 at 3:45 AM, Gowtham Reddy <sharpgowtham at gmail.com>
wrote:

> Hi,
>
> We are developing a native application in Android. We are using SIMD
> optimizations on it.
>
> We want to use -mstackrealign option to make all the function parameters
> and local variables to be aligned to 16 bytes.
>
> But CLANG compiler on x86 Android platform is not honoring the flag.
>
> Any work arounds to make all functions in the project to stack aligned by
> 16 bytes.
>
> Thanks,
>
> Gowtham Reddy
>
>
>
> _______________________________________________
> cfe-dev mailing list
> cfe-dev at cs.uiuc.edu
> http://lists.cs.uiuc.edu/mailman/listinfo/cfe-dev
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/cfe-dev/attachments/20150220/dc78e7fa/attachment.html>


More information about the cfe-dev mailing list