public inbox for gcc@gcc.gnu.org
 help / color / mirror / Atom feed
* unaligned memory access for vectorization
@ 2015-02-12 14:01 Ajit Kumar Agarwal
  0 siblings, 0 replies; only message in thread
From: Ajit Kumar Agarwal @ 2015-02-12 14:01 UTC (permalink / raw)
  To: Richard Biener, gcc
  Cc: Vinod Kathail, Shail Aditya Gupta, Vidhumouli Hunsigida, Nagaraju Mekala

Hello All:

The unaligned array access are the blocking factor in the vectorization. This is due to unaligned load and stores with respect to
SIMD instructions are costly operations. 

To enable the vectorizations for unaligned array access the loop peeling is done to make the multiversioning of the loop with 
a loop for the iterations for unaligned array access where the code is non vectorized and also the loop where the loop can be 
vectorized for aligned access. This is possible with loop multiversioning to not to generate the unaligned moves.


Can I know the scope of the above optimization and pointer to the code in GCC where this optimizations is implemented.
If not implemented , it's good to have this optimization.

Thoughts Please?

Thanks & Regards
Ajit 


^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2015-02-12 14:01 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2015-02-12 14:01 unaligned memory access for vectorization Ajit Kumar Agarwal

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).