This is the mail archive of the
gcc-help@gcc.gnu.org
mailing list for the GCC project.
Re: difference between aligned and unaligned acceses
- From: Ian Lance Taylor <iant at google dot com>
- To: ranjith kumar <ranjit_kumar_b4u at yahoo dot co dot uk>
- Cc: gcc-help at gcc dot gnu dot org
- Date: 05 Jul 2007 07:45:27 -0700
- Subject: Re: difference between aligned and unaligned acceses
- References: <487892.2766.qm@web27414.mail.ukl.yahoo.com>
ranjith kumar <ranjit_kumar_b4u@yahoo.co.uk> writes:
> how does rtl differentiate between aligned
> acces(movdqa) and unaligned acces(movdqu)???
In RTL every MEM has the associated alignment in MEM_ALIGN. The i386
backend uses that when expanding a vector move to choose which
instruction to emit.
Ian