This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: Vector alignment tracking
- From: Andi Kleen <andi at firstfloor dot org>
- To: Artem Shinkarov <artyom dot shinkaroff at gmail dot com>
- Cc: gcc <gcc at gcc dot gnu dot org>, GCC Patches <gcc-patches at gcc dot gnu dot org>, "Joseph S. Myers" <joseph at codesourcery dot com>, Richard Guenther <richard dot guenther at gmail dot com>
- Date: Thu, 13 Oct 2011 08:54:42 -0700
- Subject: Re: Vector alignment tracking
- References: <CABYV9SX18iNfXO-j+ZhVuYDg3Z3L+7apWq6crBfnT-0XWrSfOg@mail.gmail.com>
Artem Shinkarov <artyom.shinkaroff@gmail.com> writes:
>
> 1) Currently in C we cannot provide information that an array is
> aligned to a certain number. The problem is hidden in the fact, that
Have you considered doing it the other way round: when an optimization
needs something to be aligned, make the declaration aligned?
-Andi
--
ak@linux.intel.com -- Speaking for myself only