This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
about auto-vectorization and run time stack align
- From: "WANG.Jiong" <wong dot kwongyuan at gmail dot com>
- To: gcc at gcc dot gnu dot org
- Date: Fri, 18 Feb 2011 14:23:00 +0800
- Subject: about auto-vectorization and run time stack align
Hi all:
Recently I found some tricky bugs in a private target which supports
SIMD instructions.
The reason is auto-vectorization will try to use those SIMD
instructions which require data address be 32 bytes aligned.
So a target specific option, which enable generating runtime stack
check prologue, like x86's -mstackrealign is always needed if we want to
make sure -ftree-vectorize work corrently?
or are there something else I have missed?
my gcc version is 4.3.5
Thanks in advance.
---
Best,
KwongYuan