This is the mail archive of the gcc@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: blkmov and alignment


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]