Aligns loops to a power-of-two byte boundary.
Linux and macOS:
- Is the optional number of bytes for the minimum alignment boundary. It must be a power of 2 between 1 and 4096, such as 1, 2, 4, 8, 16, 32, 64, 128, and so on.If you specify 1 forn, no alignment is performed; this is the same as specifying the negative form of the option.If you do not specifyn, the default alignment is 16 bytes.
- No special loop alignment is performed.
This option aligns loops to a power-of-two boundary. This alignment may improve performance.
It can be affected by the
pragma code_align and attribute code_align.
If code is compiled with the
/Qalign-loops:m(Windows*) option and a code_align:n pragma precedes a loop, the loop is aligned on a max (m, n) byte boundary. If a function is modified by a code_align:k pragma and a code_align:n pragma precedes a loop, then both the function and the loop are aligned on a max (k, n) byte boundary.