[Mono-list] cpblk?

Sergey Chaban serge@wildwestsoftware.com
Sun, 26 May 2002 15:29:25 +0300


One more note.

> When you have larger blocks, it really pays off to optimize for
> things like DWORD/QWORD alignment

"cpblk assumes that both destaddr and srcaddr are aligned to the natural size of the machine"
This is from the specs. So in the default case there is no need to worry about this.
(It is up to code-generator to ensure alignment).

However prefixes such as "unaligned. 1" are used to override this.
So additional code for alignment definitely makes sense if these prefixes are used.

Sergey