You copied the Doc URL to your clipboard.

Vectorization and struct member lengths

NEON structure loads require that all members of a structure are of the same length.

In the example code below, the compiler does not attempt to use vector loads because of the inconsistent structure member lengths.

struct foo
    short a;
    int b;
    short c;
} n[10];

This code could be rewritten for vectorization by using the same data type throughout the structure. For example, if the variable b is to be of type int , consider making variables a and c of type int rather than short .