------- Comment #18 from lessen42+gcc at gmail dot com 2009-08-20 08:49 ------- This still doesn't work on ARM either (tested with 4.4.0). The EABI only mandates the stack be 8 byte aligned, and gcc silently clips any alignment request above 8 bytes to 8 (so even if the stack were 16-byte aligned by accident the variables still wouldn't be.)
Even a simple sp -= sp & (align-1) for every function with variables needing more alignment would be faster than unaligned NEON loads/stores. -- lessen42+gcc at gmail dot com changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |lessen42+gcc at gmail dot | |com http://gcc.gnu.org/bugzilla/show_bug.cgi?id=16660