public inbox for gcc@gcc.gnu.org
 help / color / mirror / Atom feed
From: Ajit Kumar Agarwal <ajit.kumar.agarwal@xilinx.com>
To: Richard Biener <richard.guenther@gmail.com>,
	"gcc@gcc.gnu.org"	<gcc@gcc.gnu.org>
Cc: Vinod Kathail <vinodk@xilinx.com>,
	Shail Aditya Gupta	<shailadi@xilinx.com>,
	Vidhumouli Hunsigida <vidhum@xilinx.com>,
	"Nagaraju Mekala" <nmekala@xilinx.com>
Subject: unaligned memory access for vectorization
Date: Thu, 12 Feb 2015 14:01:00 -0000	[thread overview]
Message-ID: <bf4a906a0cba4ca88bdebbbb0f736d5b@BY2FFO11FD030.protection.gbl> (raw)

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 


                 reply	other threads:[~2015-02-12 14:01 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=bf4a906a0cba4ca88bdebbbb0f736d5b@BY2FFO11FD030.protection.gbl \
    --to=ajit.kumar.agarwal@xilinx.com \
    --cc=gcc@gcc.gnu.org \
    --cc=nmekala@xilinx.com \
    --cc=richard.guenther@gmail.com \
    --cc=shailadi@xilinx.com \
    --cc=vidhum@xilinx.com \
    --cc=vinodk@xilinx.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).