Visible to Intel only — GUID: GUID-1AA93273-F93C-4168-B7F4-F89613B31AC2
Visible to Intel only — GUID: GUID-1AA93273-F93C-4168-B7F4-F89613B31AC2
code_align
Specifies the byte alignment for a loop.
Syntax
Windows [[clang::code_align(n)]] |
Linux __attribute__((code_align(n))) or [[clang::code_align(n)]] |
Arguments
n |
Optional. A positive integer constant initialization expression indicating the number of bytes for the minimum desired alignment boundary. Its value must be a power of 2, between 1 and 4096, such as 1, 2, 4, 8, and so on. If you specify 1 for n, no alignment is performed. If you do not specify n, the default alignment is 16 bytes. |
Description
This attribute must precede the loop to be aligned.
If a procedure has the code_align(k) attribute and another code_align(n) attribute precedes a loop, then both the procedure and the loop are aligned on a max(n,k) byte boundary.