__alignx

Purpose

Allows for optimizations such as automatic vectorization by informing the compiler that the data pointed to by pointer is aligned at a known compile-time offset.

Prototype

void __alignx (int alignment, const void* pointer);

Parameters

alignment
Must be a constant integer with a value greater than zero and of a power of two.


Voice your opinion on getting help information Ask IBM compiler experts a technical question in the IBM XL compilers forum Reach out to us