[cfe-commits] [PATCH] Target specific max vector alignment

Chad Rosier mcrosier at apple.com
Mon Jul 9 10:54:50 PDT 2012


Ping.  Anything to add beyond what Eli mentioned?

On Jul 6, 2012, at 1:14 PM, Chad Rosier wrote:

> All,
> Attached is a patch that enables a per target max vector alignment field (e.g., 32-byte alignment for x86 due to AVX).  Currently, if no aligned attribute is specified the alignment of a vector is inferred from its size.  Thus, very large vectors will be over-aligned with no benefit.  With this patch in place the alignment will be the lesser of the size of the vector and the target max alignment unless an aligned attribute is used.
> 
> Chad
> 
> <target_max_vector_alignment.patch>_______________________________________________
> cfe-commits mailing list
> cfe-commits at cs.uiuc.edu
> http://lists.cs.uiuc.edu/mailman/listinfo/cfe-commits




More information about the cfe-commits mailing list