This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: blkmov and alignment
- From: Richard Biener <richard dot guenther at gmail dot com>
- To: gcc at gcc dot gnu dot org,Paul Koning <paulkoning at comcast dot net>,GCC Development <gcc at gcc dot gnu dot org>
- Date: Fri, 05 Oct 2018 18:21:53 +0200
- Subject: Re: blkmov and alignment
- References: <606A2F06-34DE-4C63-AF3D-17517F315A4D@comcast.net>
On October 5, 2018 4:17:53 PM GMT+02:00, Paul Koning <paulkoning@comcast.net> wrote:
>The documentation says that argument 4 of the blkmov insn gives the
>alignment, for example 4 if things are word-aligned.
>
>It's documented that, say, the value 4 means source and destination are
>multiples of 4. What isn't clear is whether the length is also a
>multiple of 4 in this case. In other words, does "aligned" state the
>alignment of source and destination and length, or only of the
>addresses and the length may still be odd?
It only applies to the address alignment but you may want to check out the expander.
Richard.
> paul