[cfe-dev] Clang compiler not honoring -mstackrealign

Gowtham Reddy sharpgowtham at gmail.com
Fri Feb 20 03:45:26 PST 2015


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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/cfe-dev/attachments/20150220/4e27ce54/attachment.html>


More information about the cfe-dev mailing list